I'm building something to show elements in these different states and it's making me curious.
Is there some simple way to trigger these?
Are they rewriting the selectors / classlists under the hood? This can work but you'd need to do it for every child as well and seems really error prone and messy.