Get in touch

Send an email to: lammers@gmail.com.
Or find me online at: Github, X

The @supports query

To test whether a browser supports a certain CSS feature, the @supports rule can be used.

@supports (display: grid) {
  .container {
    display: grid;
  }
}

Add not to test whether a browser doesn't support a feature.

@supports not (display: grid) {
  .container {
    display: flex;
  }
}

See MDN for more details