Nth-child () attribute, parity style takes effect, which means that the attribute is used correctly, but filling in numbers such as 1Magne2 and 3 does not take effect. What's going on? ask the boss for help.

this is the carousel graph code I copied directly from the official website of element. The parity is in effect, so the attribute should be used correctly, right? However, the
number is not valid.

clipboard.png

clipboard.png
this kind of thing also happened when I was learning this attribute. The numbers always don"t work. I don"t know if I don"t understand it or I don"t know what the problem is. No, no, no.

Css
Mar.09,2021
Menu