Post

Newly Available: CustomStateSet ✅ What is it? 🤔 It’s a new API that lets developers define and manage custom states on HTML elements, enabling fine-grained styling and behavior control using the :state() CSS pseudo-class. Start experimenting now 👇 developer.mozilla.org/en-US/docs/...

developer.mozilla.orgCustomStateSet - Web APIs | MDNThe CustomStateSet interface of the Document Object Model stores a list of states for an autonomous custom element, and allows states to be added and removed from the set.

6 reposts47 likes