CSS 选择器的优先级顺序

important > 内联 > ID > 类 > 标签 | 伪类 | 属性选择 > 伪对象 > 继承 > 通配符

原文地址:https://www.cnblogs.com/lidabo/p/2614806.html