Jump to content
GreenSock

Shaun09075

Horizontal snapping sections (advanced) - ScrollTrigger

Recommended Posts

Hello,

 

Quick question really, probably quite simple but I'm new here. I was wondering if it's possible to have the same effect that we get with the horizontal snapping sections (advanced) demo - but vertical rather than horizontal? 

 

Kind regards,

 

Shaun

See the Pen XWmEoNg by GreenSock (@GreenSock) on CodePen

Link to comment
Share on other sites

Absolutely. You can use ScrollTrigger's snapping capabilities or leverage CSS scroll snapping like this demo: 

See the Pen YzyaKrq by GreenSock (@GreenSock) on CodePen

 

Does that answer your question? there are a ton of demos at https://greensock.com/st-demos

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