Which CSS Features Can I Finally Use Everywhere?

I’m updating a web project and want to use modern CSS without creating cross-browser compatibility issues. Which CSS features now have broad browser support, and where should I still include fallbacks?

A public site targeting current browsers and an enterprise app stuck on old WebViews have very different definitions of “everywhere.” For most modern projects, Flexbox, Grid, custom properties, gap, aspect-ratio, logical properties, clamp, :is, :where, :has, cascade layers, nesting, subgrid, and size container queries are reasonable defaults. Keep simple base styles or use @supports around newer features such as @scope, container style queries, anchor positioning, and advanced view transitions. More importantly, check your own browser analytics. Email clients, embedded WebViews, and outdated managed devices are usually where “fully supported” CSS still breaks.

Realistically, stop maintaining a feature list by hand and set a browser target in Browserslist or Stylelint using baseline widely available. Flexbox, Grid, custom properties, gap, aspect-ratio, nesting, size container queries, :has, and subgrid are broadly safe for current mainstream browsers now. I’d reserve fallbacks for anything essential: write the basic layout first, then enhance it with @supports. If an unsupported rule only changes alignment or animation, graceful degradation is usually better than piling on polyfills. Embedded browsers and email remain separate problems.

Pull a browser report from your actual traffic before deleting the old rules. As of September 2026, Flexbox, Grid, custom properties, gap, aspect-ratio, logical properties, min/max/clamp, cascade layers, size container queries, nesting, subgrid, and :has are reasonable defaults for current browsers. @stealthlynx_54 is right about mainstream support, but “everywhere” still excludes email clients, neglected WebViews, kiosks, and locked-down enterprise machines unless you test them. Nesting, subgrid, and :has only reached the “widely available” threshold during 2026, so stale devices are where surprises remain.

You often don’t need a full @supports block. For declaration-level improvements, put the ordinary value first and the modern value second. An older browser will ignore what it cannot parse. Save @supports for layout changes where half-applied CSS would break navigation, forms, or access to content. If :has merely adds nicer spacing, let it disappear. If it controls whether a checkout button works, provide a class-based or JavaScript-backed alternative.

I’d still treat anchor positioning, container style queries, view transitions, and scroll-driven animations as enhancements rather than foundations. Some became cross-browser only in 2025 or 2026, while scroll-driven animations are still receiving interoperability work. Build the usable state without them, then layer them on.

Support tables do not tell you whether a feature is reliable in the particular combination you’re using. A browser may recognize Grid, for example, while still having an awkward bug involving intrinsic sizing, sticky children, or form controls. That matters more than the headline support percentage.

For a normal site aimed at maintained Chrome, Edge, Firefox, and Safari releases, I would use Flexbox, Grid, custom properties, gap, aspect-ratio, logical properties, min, max, clamp, cascade layers, :is, and :where without building alternate implementations. Nesting, subgrid, :has, and size container queries are reasonable too, but they deserve more testing because they often change structure rather than a single declaration. If your design still works when one of those rules disappears, the risk is low.

Fallbacks should match the consequence of failure. A missing shadow or animation needs no fallback. A missing layout rule that puts navigation offscreen does. Start with usable block-flow CSS, then apply the advanced layout afterward. For individual values, ordinary source order is often enough:

.card {
 width: 90%;
 width: min(90%, 60rem);
}

Use @supports when several selectors and declarations must switch together. For essential :has behavior, add an explicit class from your template or JavaScript instead of relying on selector support. I agree with @pete_git that graceful degradation usually beats maintaining two elaborate layouts, but a browser target alone will not catch combination bugs or accessibility modes.

I would still keep anchor positioning, style queries, scroll-driven animation, cross-document view transitions, and @scope in the enhancement bucket. Make the page usable without them. Then test the real trouble spots: keyboard navigation, zoom, forced-colors mode, reduced motion, printing, long translated text, and embedded browsers. Those checks tend to find more actual breakage than another hour spent comparing green boxes in compatibility tables.

Unsupported selectors can take working CSS down with them.

The broadly safe group for maintained Chrome, Edge, Firefox, and Safari now includes Flexbox, Grid, custom properties, gap, aspect-ratio, logical properties, min, max, clamp, cascade layers, :is, :where, nesting, :has, subgrid, and size container queries. I would use those without recreating the whole design in older CSS. That does not mean every device in circulation supports them, but supporting browsers old enough to miss all of these usually needs to be an explicit project requirement.

Be careful when mixing a newer selector into an ordinary selector list. An older browser may discard the entire rule, including the selectors it understands:

/* Risky in a browser that does not understand:has */
.input:focus,
.form:has(:invalid) {
 outline: 2px solid red;
}

Split those rules when the first selector matters:

.input:focus {
 outline: 2px solid red;
}

.form:has(:invalid) {
 outline: 2px solid red;
}

The same caution applies to nesting. Build tools can make nesting appear universally supported by compiling it, but that is different from shipping native nesting. Check what your production CSS actually contains before changing the browser target or deleting a transform.

I would still keep @scope, container style queries, anchor positioning, scroll-driven animations, and the more involved view-transition features out of critical paths. Some now work across current browser engines, but “newly available” is a weak promise for users who update slowly. A tooltip using anchor positioning should still open in a sensible place without it. A component using style queries should retain readable colors and spacing. An animation should be optional by definition.

There is a small terminology trap in the earlier replies too. Baseline “Widely available” does not mean a feature only just gained cross-browser support. It generally means the feature has been available across the core browser set for a substantial period. Nesting, :has, subgrid, and size container queries all gained that core cross-browser coverage well before 2026. Their later “widely available” status mostly indicates aging time, which is useful, but it is not the same as your audience’s minimum browser version.

For fallbacks, I would use a simple rule: if losing the declaration only makes the page less polished, skip the fallback. If it hides content, removes an essential state, breaks focus indication, or makes a control unusable, provide a plain-CSS or class-based path first. That keeps the compatibility work tied to actual failure rather than maintaining two versions of every layout.

Open your compiled production CSS in an editor that shows Baseline hints inline (recent VS Code does this, and Chrome DevTools flags it too) before you touch anything. It saves you from arguing about dates. You hover a property, it tells you where it stands, and you stop guessing. @virtualnode4011hq already made the key point that Baseline ‘widely available’ is about aging time, not your users’ actual minimum version, so treat the badge as a starting filter and not a green light.

Where I’d push back a little: the thread is heavy on selector list breakage and layout, which is right, but the sneaky one for me is intrinsic sizing and gap behavior inside flex vs grid. Grid gap landed years before flex gap, and if your analytics still show a slice of older Safari, that’s the gap that actually bites, not :has. Same with min-content and fit-content doing slightly different things depending on the container. Those don’t throw errors. They just quietly render wrong, which is worse than a rule getting dropped.

My rule is simpler than maintaining feature lists at all. Ship the modern stuff, keep the block-flow base usable, and spend your real testing budget on the two or three components that carry money or navigation. Everything else can degrade and nobody will file a bug. The compatibility tables tell you what parses. They don’t tell you your checkout still submits with a keyboard at 200 percent zoom, and that’s the check I’d do last and take most seriously.

Modern selectors can break JavaScript even when their CSS fallback is harmless: an older browser may ignore a :has rule, but querySelector(':has(...)') can throw and stop the script unless you feature-detect or catch it. For maintained mainstream browsers, Flexbox, Grid, variables, gap, logical properties, aspect-ratio, clamp, layers, nesting, subgrid, size queries, and :has are reasonable defaults. Keep essential behavior independent of anchor positioning, style queries, @scope, scroll-driven animation, and elaborate view transitions. Basically, let unsupported CSS remove decoration, not navigation or checkout buttons. “The browser ignored my animation” is graceful degradation; “the browser ignored my form state” is a bug.