Jump to content
Search Community

How can I achieve following animation

midnightgamer test
Moderator Tag

Recommended Posts

15 minutes ago, mikel said:

Hey @midnightgamer,

 

Please show us your attempts in the CodePen.
Comment on your problems ...

 

Every attempt brings you further

Mikel

First I tried your solution It was working fine for first section others were behaving strange then I added one class to each section set trigger to that class yet It didn't work. Then I tried to use forEach with ScrollTrigger.Create  but I was not clear with concept so I skipped it. Lastly I duplicated same code 4 times and trigger each section by thier ID yet it didn't work. I don't have code as undo all the changes.

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