css为第几个倍数元素添加样式

//3n就是3的倍数都加这个样式*/
.list li:nth-child(3n)
{ border-bottom:1px;}

 

posted @ 2017-06-27 14:36  bubuchu  阅读(2842)  评论(0编辑  收藏  举报