CSS scroll-state() query replaces scroll-tracking JavaScript
The CSS scroll-state() container query detects scroll direction, overflow, sticky and snap state, replacing JavaScript scroll listeners with declarative styling across four featur…
Topic
The CSS scroll-state() container query detects scroll direction, overflow, sticky and snap state, replacing JavaScript scroll listeners with declarative styling across four featur…
CSS-Tricks’ soft-launched redesign cuts zipped CSS from 31.7KB to 24.6KB, removes inherited theme code, and r…
A new CSS technique uses if() and sibling-index() to make :nth-child() arguments adjustable via variables, co…
CSS-Tricks relaunches What's !important as a newsletter on November 10 after four years, closing the site run with GTA…
Safari 27 pushed nine features to Baseline while Chrome and Firefox switched to two-week releases. New patterns: scroll…
Safari and Chrome 156 now ship native CSS random() from Values and Units Level 5, enabling pseudo-random tilts, timing…
A HackerNoon walkthrough treats keyboard focus indicators as a designed system component, mapping CSS techniques like :…