Topic
CSS
6articles about CSS.
Why Focus Traps Break: DOM Order vs Browser Focus Engines
Why JavaScript focus traps break under CSS reading-flow, scroll containers, and Shadow DOM, and how native dialog and inert provide the 2026 fix.
Cross-Document View Transitions: Lifecycle & Pipeline
Understand how cross-document View Transitions coordinate navigation lifecycle, snapshot capture, BFCache, and browser rendering pipelines.
CSS @property: Registration, Type Validation, and Animation in Production
CSS @property mechanics: computed-value validation, animation interpolation, inheritance costs, and PostCSS/Sass build pipeline interactions.
CSS Anchor Positioning: How Resolution, Scroll, and Fallbacks Actually Work
The mechanics behind anchor-name, position-anchor, anchor(), and position-area — covering multi-anchor layout and scroll-container fallbacks.
Container Queries: Why the Component, Not the Viewport, Should Decide
Container queries let components respond to their own width rather than the viewport, solving responsive layout issues that breakpoints cannot fix.
Fluid Type Systems: The Parts the Calculators Don't Generate
What clamp() generators omit: a viewport-scaling ratio, vertical rhythm for fluid sizing, and viewport units that reflow during mobile scroll.