Level Up Your CSS Skills With The :has() Selector — Smashing Magazine

The CSS relational selector :has() offers what was previously impossible without JavaScript. Let’s explore some magical powers that :has brings.