Little Big Things Building A Great UX With Modern CSS - Una Kravets
summary
Examples and concrete code show how to reclaim mobile space (a Google Photos header eats ~40% of screen) and build hide-on-scroll headers using scroll state queries (progressive enhancement, works in Chrome 144+), scroll-driven and scroll-triggered animations (Chrome 146+), and view transitions with scope view transitions for morphing UI. The demos use container and anchored container queries, border-shape (Chrome 147) for real tooltip geometry, the Popover API plus interest invokers (Chromium native, polyfill lacking long-press), sibling-index staggering, contrast-color and light/dark theming, and customizable native selects — all shown as working patterns and fallbacks.
AI-written summary · about
