Home > Mobile >  CSS Smooth Scroll Stop
CSS Smooth Scroll Stop

Time:06-14

I want the behavior that when I stop scrolling , the scrolling should stop after scrolling a little bit slowly and not immediately Help me to implement this behavior.

example website

CodePudding user response:

for achieving this you can use library same as this website is using.

https://min30327.github.io/luxy.js/

https://github.com/min30327/luxy.js

CodePudding user response:

this will be useful

html,body {
  scroll-behavior: smooth;
}
  • Related