Have you used the has selector in CSS? According to Chris Coyier, it's a game-changer.
The CSS :has selector allows styling parent elements based on the presence or state of child elements, like body:has(input:checked), greatly simplifying complex interactions — yet many developers remain unaware of its existence.
入选理由:CSS has 选择器支持通过子元素状态(如 input:checked)直接样式化父元素,无需 JavaScript
