···
li:nth-last-child(1) {
background-color: red;
}
li:nth-last-child(2) {
background-color: red;
}
li:nth-last-child(3) {
background-color: red;
}
···
刚还在说这题目是不是有问题,看你github上题目改了

···
li:nth-last-child(1) {
background-color: red;
}
li:nth-last-child(2) {
background-color: red;
}
li:nth-last-child(3) {
background-color: red;
}
···
刚还在说这题目是不是有问题,看你github上题目改了