CSS scroll-state container queries can now detect scrolling

Circular author’s photo next to the title “Is it scrolled? Is it not? Let’s find out with CSS @container scroll-state() queries”, with a big mouse surrounded by up, down, left, and right arrows.

Brecht De Ruyte walks through the new scrolled state for @container in Chrome 144, plus stuck, snapped, and scrollable from Chrome 133, so UIs like hidey headers, scroll hints, and scroll arrows can be styled in pure CSS.

utilitybend.com/blog/is-it-scrolled-is-it-not-lets-find-out-with-css-container-scroll-state-queries