web-feature: CSS.supports()

baseline logo 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.