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

//3n就是3的倍数都加这个样式*/
.list li:nth-child(3n)
{ border-bottom:1px;}
原文地址:https://www.cnblogs.com/bubuchu/p/7085023.html