
Improving site performance by shipping more CSS
GitHub’s Primer moved from CSS-in-JS to CSS Modules, cutting server rendering time by 55%.
Web Standards
Daily web platform news

GitHub’s Primer moved from CSS-in-JS to CSS Modules, cutting server rendering time by 55%.

link-parametersAn external SVG takes its colors from the page, and keeps its own when nothing is passed in.

Nested scroll containers quietly take away keyboard scrolling, pull-to-refresh, and more.

An embedded frame grows with its content, no postMessage height plumbing.

The lh unit keeps an icon next to the first line of a label that wraps.

Notes can sit anywhere in the document and hold several blocks, still without JavaScript.

A tool for gain-map JPEGs, plus a CSS trick for text past plain white.

Data attributes become typed CSS values, and one variable rescales a whole card.

The CSS Working Group’s answer to detecting behavior changes, not just parsing.

A Baseline-aware skillset from Google, extended with project-specific CSS rules and fallbacks.

Why unmounting rows costs you find-in-page, anchor links, focus, and per-card state.

Five ways to avoid an orphaned item on the last flex line, from container queries to one property.