March 11, 2019 05:25 pm GMT
Original Link: https://css-tricks.com/downsides-of-smooth-scrolling/
Downsides of Smooth Scrolling
Smooth scrolling has gotten a lot easier. If you want it all the time on your page, and you are happy letting the browser deal with the duration for you, it's a single line of CSS:
html { scroll-behavior: smooth;}
I tried this on version 17 of this site, and it was the second most-hated thing, aside from the beefy scrollbar. I haven't changed the scrollbar. I like it. I'm a big user of scrollbars and making it … Read article
The post Downsides of Smooth Scrolling appeared first on CSS-Tricks.
Original Link: https://css-tricks.com/downsides-of-smooth-scrolling/
Share this article:
Tweet
View Full Article