css权重策略 veneno 2024-02-12 24 阅读1分钟 选择器权重 !important>行内(1000)>id(100)>class/伪类/属性选择器(10)>标签/伪元素(1)>通配符(0) !important权重最高 权重相同可覆盖