首页 > 技术文章 > CSS 基本选择器有哪些?
-candy 2020-12-30 18:59 原文
a.内联样式表的权值为1000
b.ID选择器的权值为100
c.class类选择器的权值为10
d.HTML标签选择器的权值为1
e.通配符选择器