text-wrap: balance and pretty — Typography the Browser Fixes Now
Lonely last words on headlines, orphans at paragraph ends — line-breaking sins designers fixed by hand for decades. Two CSS values now fix them permanently.
The dialog Element: Modals You Stop Maintaining
Focus traps, backdrop, Escape handling, inert background — the modal checklist the platform now does for you. showModal(), ::backdrop, and closedby.
CSS Anchor Positioning: Tooltips That Position Themselves
Pin any element to any other element, with automatic flipping when space runs out — the layout problem that kept Popper.js alive, now solved in CSS.
@property: Typed CSS Variables That Actually Animate
Custom properties are strings — which is why animating them snaps instead of tweening. @property gives them types, and suddenly gradients, angles, and numbers interpolate.
CSS Subgrid: The Alignment Problem Grid Could Not Solve Alone
Cards in a row with misaligned titles, prices, and buttons — the oldest grid frustration. Subgrid lets children align to their grandparent tracks. Solved.
The Popover API: Tooltips and Menus Without the Library
Light dismiss, top-layer stacking, focus handling — everything you imported Floating UI for is now two HTML attributes. The Popover API in practice.
Container Queries: Components That Own Their Responsiveness
Media queries ask how big the window is. Container queries ask how big MY box is — the question components actually needed. Sidebars stop breaking cards forever.
CSS :has() — The Parent Selector Changes How You Architect Styles
For twenty years CSS could only look down the tree. :has() looks up, sideways, and forward — killing a whole class of state-tracking JavaScript.
The View Transitions API: App-Like Navigation Without a SPA
The View Transitions API brings native-app page morphs to plain multi-page sites. Two lines of CSS, no router, no framework — here is how to ship it today.
Scroll animation
JS scroll listeners are a performance tax. How CSS scroll-driven animations replace them with three lines that run jank-free on the compositor.