mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-06-25 15:33:05 +03:00
first tween attempt
This commit is contained in:
parent
a24ee54603
commit
f7288dfd4c
|
@ -42,6 +42,7 @@
|
||||||
>Discover Tiflex</a
|
>Discover Tiflex</a
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="box green"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- End your project here-->
|
<!-- End your project here-->
|
||||||
|
@ -51,5 +52,6 @@
|
||||||
<!-- Custom scripts -->
|
<!-- Custom scripts -->
|
||||||
<script type="text/javascript"></script>
|
<script type="text/javascript"></script>
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js"></script>
|
||||||
|
<script>gsap.to(".green", {rotation: 360, x: 100, duration: 1});</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1 +1,8 @@
|
||||||
// Your custom styles
|
// Your custom styles
|
||||||
|
body {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-around;
|
||||||
|
min-height: 100vh;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user