Share Posted April 7, 2019 I have simple css animation looks like this, pen circle to square using css I want the same animation using tween max. can someone help me to achieve this?? See the Pen JVRYqm by makumba (@makumba) on CodePen Link to comment Share on other sites More sharing options...
Share Posted April 7, 2019 Hi @Kutomba, Welcome to the GreenSock Forum. Here an example See the Pen zXKrxL by mikeK (@mikeK) on CodePen Happy tweening ... Mikel 1 Link to comment Share on other sites More sharing options...
Author Share Posted April 7, 2019 Hii @mikel Thank you for the great answer, I am a newbie to tweenmax animation I have a few questions 1. How to stop that infinite iteration in tweenmax? , I just want to run it once because the effect will appear only after clicking some buttons, in css I will just remove this line to stop infinite iteration animation-iteration-count: infinite; 2. Lets us assume that we have two elements one is the sircle and other is square , is it possible to add that anaimation to these elements meaning starts from element1 which is sircle and finish with second element which is square? <div class="circle">I am circle</div> <div class="square">I am square</div> Any help or suggestion will be appreciated, Link to comment Share on other sites More sharing options...
Share Posted April 7, 2019 Hi @Kutomba, Without repeat: See the Pen zXKrxL by mikeK (@mikeK) on CodePen Sure you can morph greensock/morphSVG if you have SVGs. Here an example: See the Pen GLjozW by mikeK (@mikeK) on CodePen Happy tweening ... Mikel 2 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now