:is :not :has :where 选择器优先级
- id
- class :require :nth-of-type :root :hover :focus ... [type=text]
- p ::before ::placeholder 两个字符 ::
- :where +, >, ~, " ", and ||
- :is() :not() :has() 已括号里最大的为准
特殊性
练习
https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity#how_is_specificity_calculated