Jump to content
Search Community

pin ScrollTrigger without spacer

Khuong Tran test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

Hi everyone! I'm new to gsap, can I ask how to pin the horizontal scroller on top of the page without the spacer at the bottom? Like the div below should stay right below the scroller until the horizontal scroller hit it's end then everything should be scrolled vertically.  Please open codepen in new window to understand better. Thank you!

See the Pen NWJxeBM by khuongtp (@khuongtp) 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...