CSS :has() Explained

Supported in Chrome, soon to be in other browsers. Finally, a selector that works on the parent.

More In