Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Praney Behl

Differences in CSS and GSAP tranforms

Recommended Posts

Hi guys,

 

Just trying to achieve the CSS animation transforms with GSAP. I am getting different results while using same properties. How can I achieve results like in CSS animation? I am doing something wrong?

 

Here is the code: 

See the Pen Gbmhs by praneybehl (@praneybehl) on CodePen

 

Thank you for the help.

 

Praney

 

Link to post
Share on other sites

Thanks Jack,

 

I do understand that it's a feature. I guess I'll just have to get a hang of it.

 

I figured that I had to add the negative z-index (-200) set in the transformOrigin properties to get similar results.

 

Praney

 

edit: Moved other question to new thread.

Link to post
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.

×