nguyenminhhieu Posted October 7, 2021 Share Posted October 7, 2021 I'm so sorry I don't know how to upload the codepen. Currently I have 2 animations for the circular logo with the class name "logobottom". And now I want to click back and forth, the animation property stops, continue. I made this logo rotate and zoom continuously Please help me with this. Link to comment Share on other sites More sharing options...
PointC Posted October 7, 2021 Share Posted October 7, 2021 I don't think I understand the question. Do you want the whole animation to pause/play on click? Side note: you should upgrade to the GSAP3 syntax. More info: 1 Link to comment Share on other sites More sharing options...
PointC Posted October 7, 2021 Share Posted October 7, 2021 Here's a quick example with your image and a play/pause on click with GSAP3 syntax. See the Pen 556a6fa102f4f01982796a7b52e4cc11 by PointC (@PointC) on CodePen Happy tweening. 2 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