Very in-depth article on Evil Martians’ team blog on scrolling:
We have scrolled to the bottom of modern web specifications to take you on a whirlwind tour of latest CSS and JavaScript features that make navigating around a single page smooth, beautiful and less resource-hungry.
Subjects tackled are styling of scrollbars, position: sticky
, IntersectionObserver
, Smooth Scrolling, the overscroll-behavior
property, etc.
I especially like this part of the closing notes (next to the plea for Progressive Enhancement):
Maybe even now, while you were scrolling through this article, another browser has shipped support for a property that will make your life easier, and your bundle size smaller.