Is there a CSS parent selector?
li:has(&gt; a.active) → Selects any li that directly contains an a element with the class...
Tags: css, webdev, programming, beginners