CSS
CSS that became Baseline in 2026, and what to use it for
Container style queries, field-sizing, sibling-count() and progress() all reached Baseline this year, which means they now work in every major browser.
What Baseline means
A feature is "Baseline Newly available" once it works in the current versions of every major browser engine. In practice that is the point where you can start shipping it with only a light fallback. These are the ones from 2026 I am most excited about, taken from web.dev's monthly digests.
May: container style queries and :open
Container queries could already react to size. Style queries let a component react to a custom property set by its container, so one card can have several variants without extra classes.
.card-list { --layout: compact; container-name: list; }
@container list style(--layout: compact) {
.card { padding: 0.75rem; font-size: 0.9rem; }
}June: field-sizing
One line to make a textarea or input grow with what the user types, with no JavaScript:
textarea {
field-sizing: content;
min-height: 3lh;
}August: :paused and sibling-count()
sibling-count() returns how many siblings an element has, which makes evenly divided layouts and staggered effects possible in pure CSS. The :paused pseudo-class lets you style media that is paused.
.tab {
width: calc(100% / sibling-count());
}September: progress(), alpha() and revert-rule
progress()turns a value into a 0 to 1 ratio between a start and an end point, which is handy for fluid sizing and scroll-linked effects.alpha()relative colour syntax adjusts just the transparency of an existing colour.revert-rulerolls a property back to the value from the previous matching rule.