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/do

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/mdn/statuses/115733614849197353 on your instance and quote it. (Note that quoting is not supported in Mastodon.)