Can I :has()

20 · CSS-Tricks · June 4, 2021, 3:28 p.m.
I just joked that we’re basically getting everything we want in CSS super fast (mostly referring to container queries, my gosh, can you imagine they are actually coming?). Now we might actually get parent selectors?! As in .parent:has(.child) { … The post Can I :has() appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter....