Jump to content
Search Community

why does not run rotateX and rotateY

alexeiv test
Moderator Tag

Recommended Posts

Looks like it's working now. Thanks.

 

Unfortunately 3D transforms are not supported by SVG elements. You can apply the transforms to the entire SVG as a workaround.

 

Happy tweening.

:)

 

PS  Just FYI - the new syntax would be.

 

gsap.to("#G", {
  duration: 1,
  rotation: 90,
  transformOrigin: "101.5px 55px -120px",
  ease: "none"
});

 

  • Like 3
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...