Jump to content
Search Community

How to animate Parallax and Pinning at the same time using GSAP's ScrollTrigger

JAMIUL ISLAM test
Moderator Tag

Go to solution Solved by Cassie,

Recommended Posts

I tried to pin the current page (div1) and when the next page(div2) will slide up, the current page (div1) will keep going 30 percent to the top, creating a parallax effect. But the problem is, when The 2nd page(div2) pins and 3rd page(div3) slides up, the 2nd(div2) page's parallax effect breaks the whole design. I need help.

See the Pen WNXZbzQ by lucifer1112k (@lucifer1112k) on CodePen

Link to comment
Share on other sites

  • 3 weeks later...

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