Jump to content
Search Community

How to achieve stagger animation when multiple elements are grouped together?

sumukha test
Moderator Tag

Recommended Posts

348680696_gsapanimation-compressed.thumb.jpg.d70d8afc7359b087438112df8050726c.jpg

 

How can I add a stagger effect to this group.

 .from(`${selector} .card img`, { x: -80, autoAlpha: 0 })
        .from(`${selector} .card .card-title,${selector} .card p`, {
          autoAlpha: 0,
          y: 30,
          stagger: 0.08,
        });

Order of animation must be like this, First card-1 image ,card1-title and card-1 subtitle and after that card-2 image, card-2 title and card-3 subtitle like this.

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...