LINKDING

Login

The Undeniable Utility Of CSS :has • Josh W. Comeau

Tags
#css
Date added
Sept. 19, 2024, 4:32 p.m.
Description
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!