任务1处问什么不能用按照下面这样写啊???背景颜色都变成一样的了 why?
.slider a:nth-of-type(1) {
background-color: #02646e;
}
.slider a:nth-of-type(2) {
background-color: #eb0837;
}
.slider a:nth-of-type(3) {
background-color: #67b374;
}
.slider a:nth-of-type(4) {
background-color: #e6674a;
}
.slider a:nth-of-type(5) {
background-color: #e61061;
}