@supports

A CSS rule that applies styles only if the browser supports a given property, value or selector.

In more detail

@supports (grid-template-rows: subgrid) { ... } wraps the enhanced layout so browsers without subgrid ignore it and keep the fallback.

Related terms

Taught in

References