DEV Community

Discussion on: Simple CSS trick to create a smooth scrolling effect

Collapse
 
buinauskas profile image
Evaldas Buinauskas

Oh God please don't. It's so annoying when sites override scroll behavior.

Collapse
 
luisaugusto profile image
Luis Augusto • Edited

This only really affects how jump links work, if it's set to smooth it will scroll to the element instead of jumping to it. It doesn't affect the actual scrolling of a page.

Collapse
 
jsn1nj4 profile image
Elliot Derhay

That makes me feel better.

Thread Thread
 
nirazanbasnet profile image
⚡ Nirazan Basnet ⚡

Thanks :)

Collapse
 
romandesigns profile image
Roman

Definitely trying it out. Sounds like there wouldn't be a need for js or plugins when targeting a # within the page for smooth scrolling