The moment you arrived · Gauri

HomeWorkBlogResumeContact

GauriGauri

© 2026 GauriAhmedabad, GujaratUpdated November 2026
WorkWritingResumeContact
in𝕏
All postsweb.dev

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.

Oct 2026·5 min read
A vibrant wavy line against a colourful gradient background
Photo: BoliviaInteligente on Unsplash

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.

css
.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:

css
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.

css
.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-rule rolls a property back to the value from the previous matching rule.

Sources & further reading

  • web.dev: New to the web platform in September 2026
  • web.dev: August 2026 Baseline digest
  • web.dev: June 2026 Baseline digest
  • web.dev: May 2026 Baseline digest
NewerNext.js 16.4: Cache Components are now the recommended defaultOlder TypeScript 7 is here: the compiler, rewritten in Go
Back to all postsDiscuss on email ↗