Scroll to the Future
This is an interesting read on the current state of scrollbars and how to control their behavior across operating systems and browsers. The post also highlights a bunch of stuff I didn’t know about, like Element.scrollIntoView()
and the scroll-behavior
CSS property.
My favorite part of all though? It has to be this bit:
In the modern web, relying heavily on custom JavaScript to achieve identical behavior for all clients is no longer justified: the whole idea of “cross-browser compatibility” is …
The post Scroll to the Future appeared first on CSS-Tricks.