Smooth Scrolling | CSS-Tricks

Hey! Before you go too far down the rabbit hole of JavaScript-based smooth scrolling, know that there is a native CSS feature for this: scroll-behavior .

Actions