1.选择第几个class:偶数,奇数,最后等列
.box-item:nth-child(odd){
border-bottom: 1px solid #ccc;
border-right: 1px solid #ccc;
}
.box-item:nth-child(even){
border-bottom: 1px solid #ccc;
// border-left: 1px solid #ccc;
}
.box-item:nth-last-child(2)
{
border-bottom: none;
}
.box-item:last-child{
border-bottom: none;
}