Of all the latest and greatest CSS features, the “:has” pseudo-class wasn’t exactly at the top of my wishlist. Once I started using it, however, I kept discovering incredible things I could do with it. It’s now become a core part of my toolkit! In this blog post, I'll show you some practical real-world problems I solved using “:has”, as well as some wild experiments that blew my mind!
Frontend
Source:https://www.joshwcomeau.com/css/has/
The Undeniable Utility Of CSS :has
Josh Comeau0 views
Related posts
JSLab is out: write code, watch it run as you type
0dev.to
A Human Reads the Anthropic IPO Filing
0Hacker News
Things That Turbo Pascal Is Smaller Than (2011)
0Hacker News
Pay after you hear it: why our AI song maker sings 30 seconds free first
0dev.to UX
I Built Aven App Agent to Help Users Find Their Next Click
0dev.to UX
Claude gets creative: a skill for brainstorming in rounds
0dev.to Productivity