Jump to content
Search Community

Card Flip animation not working

Nooruddin test
Moderator Tag

Recommended Posts

Hi and Welcome to the GreenSock forums,

 

Thanks for the demo. It seems you might want to take a few steps back here and get 1 card to flip the way you want before you worry about a lot of cards or even hooking up ScrollTrigger.

 

Here's a demo from one of my courses, perhaps it will help you get your cards setup in a simpler fashion

 

See the Pen VwKGVjb?editors=0010 by snorkltv (@snorkltv) on CodePen

 

And to add ScrollTrigger you can do something like this

 

See the Pen gOZWaQj?editors=1010 by snorkltv (@snorkltv) on CodePen

 

Hope this helps.

 

If you want to learn GSAP inside and out, check out my complete GSAP course bundle, it will guide you through all this and so much more.

 

  • Like 5
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...