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

Dolphin Anty em reais: de R$0 a R$932 por mês, e o plano do meio é o pior custo por perfil
0dev.to
The Lyttle Lytton Contest 2026 winners
0Hacker News New
Show HN: Shutters – Photos and More
0Hacker News Show
Show HN: Skillset: Easily curate and install agent skills collection
0Hacker News Show
Backing Out Sales Tax From a Receipt: Why T * (1 - r) Is Always Wrong
0dev.to
Computing FLSA Overtime in Code: Regular Rate, Bonuses, and Dual-Rate Weeks
0dev.to