first tween attempt

This commit is contained in:
Anthony Wilbourne 2024-02-09 13:34:39 +00:00
parent a24ee54603
commit f7288dfd4c
2 changed files with 9 additions and 0 deletions

View File

@ -42,6 +42,7 @@
>Discover Tiflex</a
>
</div>
<div class="box green"></div>
</div>
</div>
<!-- End your project here-->
@ -51,5 +52,6 @@
<!-- Custom scripts -->
<script type="text/javascript"></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>
</html>

View File

@ -1 +1,8 @@
// Your custom styles
body {
display: flex;
align-items: center;
justify-content: space-around;
min-height: 100vh;
flex-direction: column;
}