For a long time, keeping state on the web was a JavaScript-only feature. Now, in 2026. CSS is capable of keeping state on a variety of things. From scroll position, to checked checkboxes, to the position of elements using anchor positioning. In this talk, I'd like to give you an overview of how you can keep state with @container scroll-state, anchoring, scroll-triggered, and driven animations. Showing things you can use today, and a few upcoming things to look out for. Welcome CSS, to the state machine.
