!important > 行内样式(比重1000)> ID 选择器(比重100) > 类选择器(比重10) > 标签(比重1) > 通配符 > 继承 > 浏览器默认属性
css 选择器优先级?
猜你喜欢
转载自www.cnblogs.com/Rivend/p/12600755.html
今日推荐
周排行