伪类的权值是不是比较低?
.nav li {
background: url('menu_line.png') no-repeat right 5px;
float: left;
position: relative;
}
.nav li:last-of-type:after{
background: none;
}最后一个li的背景貌似去不掉,firebug看到样式加载进来
.nav li {
background: url('menu_line.png') no-repeat right 5px;
float: left;
position: relative;
}
.nav li:last-of-type:after{
background: none;
}最后一个li的背景貌似去不掉,firebug看到样式加载进来
2014-12-30
举报