Jump to content
Search Community

smooth scroll but one item at a time

atulraj89 test
Moderator Tag

Recommended Posts

Hello All,

I am creating vertical slider kind of functionality, with smooth scroll.
I have found in a discussion the window smooth behave by @OSUblake , , 
but its a smooth scroll which depends on the mouse wheel, and its scrolling depending on the mouse wheel speed,
 
I have 2 questions here,
1. in this example whole window is scrolling with smoothness, is it possible to apply same thing on a div?
2. if yes, then is it possible with GSAP to scroll one item at a time. like in the given image, I want one test item to scroll with one mouse wheel stroke and smoothly, 
Just an Idea needed.

Here is the thing Which I am creating, 

 

image.png.7f55a610b5fd0613a797ed9b62f00b9c.png

 

Note: I have shockingly green, if any paid plugin need to use in this example to achieve the result. 

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