.file_list{
counter-reset: xws;
}
.file_list li{
counter-increment: xws;
margin: 4px auto;
}
.file_list li:before{
content: counter(xws);
background: grey;
color: yellow;
padding: 2px 4px;
font:1.1em bold italic;
border-radius:.8em;
}
.file_list li:nth-child(-n+9):before{
content: "0"counter(xws);
}
返回顶部
Back to home