使用:not() 解决lists边框的问题

.nav li:not(:last-child) {
border-right: 1px solid #666;
}

猜你喜欢

转载自blog.csdn.net/qypingi/article/details/107622867