I feel like such a genius every time I pull off a neat hack with :has(). Especially if it targets an element in the DOM hierarchy that would have been previously inaccessible with CSS alone.
I love modern CSS.
I feel like such a genius every time I pull off a neat hack with :has(). Especially if it targets an element in the DOM hierarchy that would have been previously inaccessible with CSS alone.
I love modern CSS.