第三個(gè)和第四個(gè)的代碼
.nav li:after{
????????? content:"";
????????? position:absolute;
????????? top:17px;
????????? right:0px;
????????? width:2px;
????????? height:16px;
????????? background:linear-gradient(to bottom, #f82f87,#A24,#d62b76);
??????? }
?? ??? ?
?
?????? ?
??????? .nav li:last-child:after {
??????????? background:none;
??????? }
2015-12-16
.nav li:nth-child(3或4):after{}
2015-12-16
?.nav li:nth-of-type(3):after {}