GreenSock enables you to animate between classes defined in your stylesheets using the className
syntax in your tween properties. This lesson walks you through using the mouseover
/mouseout
and mousedown
/mouseup
events to add and remove css classes based on the specific event.
In GSAP 3 className tweens was REMOVED? See https://greensock.com/3-release-notes
Did you consider to update the course for GSAP 3?