+ 1
Working with Pseudo-Classes
This might be a stupid question but is it possible to color the second child in a pseudo class?
2 Respostas
+ 4
For this there is a pseudo-class nth-child(). In parentheses just written the number of the element you want to change
0
In the case of nth-child(), be sure to only put a number in the parentheses. Otherwise, it won't work. I have code up if you or anyone else wants to see it.
https://code.sololearn.com/W5qxYSU4eG3f/#html