这相当于5个li标签,每个标签前面对应的颜色不一样而已。
li:nth-of-type(1){border-left: 2px solid bule}
li:nth-of-type(2){border-left: 2px solid xxx}
li:nth-of-type(3){border-left: 2px solid red}
li:nth-of-type(4){border-left: 2px solid red}
li:nth-of-type(5){border-left: 2px solid red}
追问不是的,前面颜色是长条形的