More Real-World Uses for :has()

More Real-World Uses for :has()

The :has() pseudo-class is, hands-down, my favorite new CSS feature. I know it is for many of you as well, at least those of you who took the State of CSS survey. The ability to write selectors upside down … More Real-World Uses for :has() originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.

Read more


<< View all articles



Intelligence delivered from Dot Command Center
Original article from CSS-Tricks updated 1/20/2023