标签云特效颜色随机

先来看下效果

代码:

.plinks li:nth-child(9n+1){
    background: #EB6841;
}
.plinks li:nth-child(9n+2){
    background: #20a8fe;
}
.plinks li:nth-child(9n+3){
    background: #FE4365;
}
.plinks li:nth-child(9n+4){
    background: #EDC951;
}
.plinks li:nth-child(9n+5){
    background-color: #5cb85c;
}
.plinks li:nth-child(9n+6){
    background-color: #b433ff;
}
.plinks li:nth-child(9n+7){
    background-color: #567e95;
}
.plinks li:nth-child(9n+8){
    background-color: #f60;

}
.plinks li:nth-child(9n+9){
    background-color: #d9534f;
}

 

.

posted @ 2018-04-29 00:22  剑仙6  阅读(243)  评论(0编辑  收藏  举报
欢迎访问个人网站www.qingchun.在线