Share Posted August 26, 2020 Any idea why this transformation is not working? When I use the uncommented line it is working, but I don't want to animate the whole SVG, only the red letters. See the Pen xxVdKQj by kitikonti (@kitikonti) on CodePen Link to comment Share on other sites More sharing options...
Author Share Posted August 26, 2020 Ok, i found the answer on my own. It's just not possible. 1 Link to comment Share on other sites More sharing options...
Share Posted August 26, 2020 You can sometimes use scaleX to fake the y rotation. gsap.to(".logo-red-letter", { scaleX: -1, transformOrigin: "center center", yoyo: true, repeat: 1 }); 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