CSS :has() in Practice: The Parent Selector You Can Finally Ship
For years, "there's no parent selector in CSS" was one of the first hard truths you learned. You could style a child based on its parent all day, but going the other way meant a class toggle in JavaSc
grimicorn.hashnode.dev4 min read