Jump to content
Search Community

Position absolute sections without scrub animation in gsap

kauls test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

The required flow of animation is --
1. First, it should show only section 1.
2. Then, on a little scroll (even 1px scroll), element 1 should animate to the top and once element 1 reaches the top, section 2 should fade in.
3. Then, on a little scroll (even 1px scroll), element 2 should animate to the right end and once element 2 reaches the right end, section 3 should fade in.
4. Then, on a little scroll (even 1px scroll), element 2 should animate to the left end and once element 2 reaches the left end, section 3 should fade in.

I can see I can achieve a similar effect when the scrub is true, but without the scrub, it is a bit difficult for me, Please help.
 

See the Pen GRXzMLQ by kauls (@kauls) on CodePen

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