Use CSS Scroll Behavior for Animated Anchor Scrolls
lessonDuration 1m 41sFree
In this lesson, we take a look at how to implement animated anchor scrolling using CSS scroll-behavior. We can do this whilst respecting our users' preference for motion and in a way that shouldn't annoy them when searching the page.