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
Adding AdSense to a static Vercel site without throwing away your Content-Security-Policy
0dev.to Security

TanStack Table vs ReUI: picking a React data grid for a shadcn app
0dev.to React

Amended S-1: Anthropic says it has purchase commitments and lease agreements of $895.4B, "substantially all of which is related to compute and infrastructure" (Ashley Capoot/CNBC)
0Techmeme
Tim Smiley: An Anecdote
0Hacker News New
Show HN: Modern CSS Quiz
0Hacker News Show
Show HN: Garrul – Comments system for your site on a single Cloudflare Worker
0Hacker News Show