CSS.supports() APIExternal Link

BaselineWidely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2022.

The CSS.supports() static method returns a Boolean value indicating if the browser supports a given CSS feature, or not.

IE
Edge
Firefox
Chrome
Safari
Safari iOS
Opera Mini
Chrome Android
Android Browser
Samsung Internet
Globals: 97.39% of all users can use this feature, 97.37% fully supported, 0.02% partially supported
✓Supported
✗Not supported
Partial support
Behind a Flag