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
On Rails — Marco Roth: Teaching Rails to Read Its Own Template
0Ruby on Rails
Grading a price, not a product: how our free Amazon deal checker gives an A, B or C
0dev.to UX
Your 100-Star Post Should Not Retell Your 50-Star Post
0dev.to GitHub

Welcome to The Startup Café ☕ (Yes, This Post Is Late… Very Late)
0dev.to Discuss
Hello DEV! 👋 Systems, Homelabs, and Building from Japan
0dev.to Discuss
The review-request automation that never asks twice (n8n)
0dev.to Productivity