Lean's Blog

🌑

CSS-选择器优先级

选择器优先级

important

↓

内联

↓

id

↓

class = 属性 = 伪类

↓

标签 = 关系 = 伪元素 

↓

通配符(*)

— 2021年7月4日

GitHub LEAN'S BLOG © 2020