Jen Simmons
Using :has() as a CSS Parent Selector and much more
let’s take a step-by-step hands-on look at what web developers can do with this desperately desired tool. It turns out, the
:has()
pseudo-class is not just a “parent selector”. After decades of dead-ends, this selector can do far more.
I hope Firefox will support :has()
soon! 🙏