Web platform features explorer

CSS.supports()

Widely available since 2022-07-15
Tags: api Groups: CSS

The CSS.supports() static method returns whether the browser supports a CSS declaration (given by two arguments, a property and value) or an @supports at-rule condition string.

Browser support (view on caniuse.com)

  • Chrome 61 Released on 2017-09-05
  • Chrome Android 61 Released on 2017-09-05
  • Edge 79 Released on 2020-01-15
  • Firefox 55 Released on 2017-08-08
  • Firefox for Android 55 Released on 2017-08-08
  • Safari 11 Released on 2017-09-19
  • Safari on iOS 11 Released on 2017-09-19