Tweens
GSAP will tween, what can be created in CSS first.
What can be Tweened?
"GSAP can animate almost any CSS-related property of DOM elements". See Documentation.
<aside> π Remember any CSS Transform property can be animated
</aside>
.to()
Basic to()
these properties tween with single option.
to()
tween with multiple options.
.from()
Basic from()
these properties tween with single option.
.fromTo()
Base fromTo()
from these properties to these properties. Define both the starting and ending values for an animation
References
Last updated