css中的 权重

* 权重是0000 0
标签的权重是0001 1
class的权重是0010 10
后代选择器是求和

在权重相同时 后面的代码覆盖前面的

posted @ 2020-10-24 15:59  &npsb;&npsb;  阅读(294)  评论(0)    收藏  举报