Hi happy tweeners,
GSAP V3 doesn't support tweening between classes anymore. Is there workaround? I tried to include TweenMax V2.x.x and use the "TweenMax"-prefix. But no chance
TXH for your help...
See the Pen gOpmKJN by Leonardo666 (@Leonardo666) on CodePen
I'd save the value(s) that you want to animate to in the JS and then animate to them (look ma, no jQuery!)
See the Pen VwLpGmj?editors=0010 by GreenSock (@GreenSock) on CodePen
You could get the values from the CSS stylesheet if needed but given the limited scope that you shared there's not much of a point in that.
Note that I'm using the GSAP 3.2 beta because there was a bug related to animating complex values that has since been fixe