Let me explain what I attempted to accomplish
CSS:
li:nth-child(2n) {
background-color:gray;
}
HTML:
<ul>
<li><a></a></li>
<li><a></a></li>
<li><a></a></li>
<li><a></a></li>
</ul>
This approach is effective. However, when I attempt
li>a:nth-child(2n) {
color:white;
}
It seems not to work and I don't understand why