a、b、c、d,可以以这四种等级为依据确定CSS选择器的优先级: a style 行内样式 个数 +1000 b id 个数+100 c 类 个数+10 d 类型个数+1 !important 规则是例外,级别高于一切 练习下: 把能想到的都发在评论里吧~ Read More
posted @ 2016-05-18 16:36 tinyphp Views(372) Comments(0) Diggs(0) Edit