nth-child css question
nth-child css question
Out of context: Reply #7
- Started
- Last post
- 9 Responses
- Stugoo0
After this next sentence I'll stop being a dick :
.right isn't very semantic now is it?
anyway, are you trying to target the second header ?
that will only work if you have two or more headers side by side.this wont work, try the :nth-of-type(2);
- sorry, i hope that makes sense :
basically nth-child wont work unless they are all side by side.Stugoo
- sorry, i hope that makes sense :