-
Posts
871 -
Joined
-
Last visited
-
Days Won
41
Community Answers
-
mikel's post in On Click Tween Stops Working after Second Click was marked as the answer
Hi nmarketti,
Sorry, I did not checked the rotated version.
Using scrollTo I can not find a solution.
But I have an alternative: The header RECT has now an INNER which on click is set to Zero first
and than to the related position y:"-50" * (index) + "px": See the Pen ZKyRbz by mikeK (@mikeK) on CodePen
A small deficit: Going back to BLUE is not elastic.
You could use this alternative for all headers if that is ok.
Best regards
Manfred
-
mikel's post in TweenMax transformOrigin was marked as the answer
Hi phukhoi,
welcome to GREENSOCK.
If you want to compress the burger to the bottom use transformOrigin:"50% bottom":
See the Pen BWbOXr?editors=1010 by mikeK (@mikeK) on CodePen
See also:
See the Pen 17b4f47aa28f02e305dab386e9f79e89 by GreenSock (@GreenSock) on CodePen
Happy tweening ...
Manfred
-
mikel's post in Scaling from center not working was marked as the answer
Hi atomboy,
please have a look to:
See the Pen 17b4f47aa28f02e305dab386e9f79e89?editors=1010 by GreenSock (@GreenSock) on CodePen
Best regards
Manfred