CSS Advanced
CSS :has() Selector: The Parent Selector and Beyond
CSS finally has a parent selector, and it does far more than select parents. Learn how :has() thinks, ten production patterns, and the specificity, performance and accessibility rules that keep it safe to ship.
· 16 min read