已采纳回答 / JustDo_IT
.nav li:after{
content:"";
position:absolute;
top:17px;
right:0px;
width:1px;
height:15px;
background:linear-gradient(to bottom, #f82f87,#A24,#f82f87); }.nav li:last-child::after{backg...
2015-01-04
已采纳回答 / 康振宁
没有引用style.css这个文件中的样式,你在head标签中加入<link href="style.css" rel="stylesheet" type="text/css" />就能看见了
2014-12-31
已采纳回答 / lilian8020056
你的这种写法是可以的,小节中给出的是省略写法。