:not()、:is()、:where() 与选择器组合 | CSS

本章覆盖:`:not()`;`:is()`;`:where()`;selector list;简化重复选择器;`:is()` 的 specificity 行为;`:where()` 零 specificity 的工程价值;reset / component foundation 中低 specificity 策略;避免为了“炫技”写难读的复合选择器。

本章知识点

  • :not()
  • :is()
  • :where()
  • selector list
  • 简化重复选择器
  • :is() 的 specificity 行为
  • :where() 零 specificity 的工程价值
  • reset / component foundation 中低 specificity 策略
  • 避免为了“炫技”写难读的复合选择器