The CSS has() selector
Jan 24, 2023
In my first not post I mentioned and example of something I find quite interesting in the recent CSS features, that is the
has() selector. And while I was preparing to write something about it, which I might still do, here’s a great article on Smashing Magazine written by Stephanie Eckles about this exact topic.
Stephanie goes into great detail about how to create advanced selectors but also reviews the CSS
A particularly nice example Stephanie brings is the
Stateful Multi-Range Selection Groups where selected checkboxes are being visually grouped.
Go have a look at her post, lots to learn from it!