@supports

The @supports CSS rule allows you to specify declarations that rely on a browser's support for one or more specific CSS features. This is known as a feature query. The rule can be placed at the top level of your code or nested within any other conditional rule.

Syntax

  
@supports (grid-area: auto) {
    margin: 0;
}
  

We use cookies to improve your experience. Learn more in our Privacy policy.

×