6 points · by lausobo · 4y ago · 1 comment
Oh, not sure how I missed that.
Looking forward to it anyway - I remember in 2012 or so it had tentatively been added so some draft standard but of course never made it.
Using :has() as a CSS Parent Selector and much more
It’s been a long-standing dream of front-end developers to have a way to apply CSS to an element based on what’s happening inside that element.
WebKit