Watched a guy at a Charlottesville hack night turn a 40 line grid into 6 lines with :has()
He did it live on the projector and I just sat there with my mouth open. Now every time I reach for a wrapper div I stop and ask if :has() could kill it, but I keep second guessing which browsers will bite me.
Dude yes. Saw something like that at a meetup last year where a guy nuked a whole nav menu with :has() and I felt dumb for every ul I ever styled. My big one is forms. Used to wrap every input just to hit the label when it had an error. Now it's like form:has(input:invalid) and done. Still scared to ship it everywhere though, I keep checking caniuse like a nervous habit. Firefox finally came around so it's mostly just old Safari that bites me.