:state()
Widely available in browsers but not in WebViewsThe :state()
CSS pseudo-class matches custom elements based on their custom state, set through the ElementInternals.states
API.
Safari Browser
iOS
17.4
The :state()
CSS pseudo-class matches custom elements based on their custom state, set through the ElementInternals.states
API.