CSS.supports()
Widely available
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.
To learn more, see
CSS: supports() static method at MDN.
Compatibility (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