Jump to content
GreenSock

Ivan Mocs

how to add slow scrolling on hero section using data speed like locomotive scroll?

Go to solution Solved by GreenSock,

Recommended Posts

10 minutes ago, GreenSock said:

I'm not sure what you mean by "slow scrolling" - do you mean smooth scrolling? Perhaps you're looking for ScrollSmoother:

 

 

I mean like parallax maybe? so the hero section scrolls a bit slower, and the content section scrolls and floats over the hero section, like  this https://custo.io/

Link to comment
Share on other sites

  • Solution

Sure, ScrollSmoother lets you set a data-speed on any element. Then just enable "effects" on the ScrollSmoother and it'll handle it all for you: 

See the Pen gOexMzq by GreenSock (@GreenSock) 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.
×