使用 :has() 作为 CSS 父选择器等等 Posted on 2022-08-22 前端开发人员长期以来一直梦想能够根据元素内部发生的情况将 CSS 应用于元素。 原文: https://webkit.org/blog/13096/css-has-pseudo-class/