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
size container Missing: cqh Falls Back to Viewport, Not Off
0dev.to
Pruebas de carga de una API .NET con k6 y GitHub Actions
0dev.to

Checking a Four-Direction Sprite Sheet Before Importing It
0dev.to
Modeling BC property transfer tax and Canadian mortgage payments in Python
0dev.to
Nvidia director sold nearly $1B in stock weeks before the Jensen Huang scandal
0Hacker News
Shipping a production-ready MVP in 3-5 days as a solo developer: the pipeline I actually use
0dev.to