Is it possible to use CSS pseudo-classes to select even and odd instances of list items?
I\'d expect the following to produce a list of alternating colors, but inste
li:nth-child(1n) { color:green; } li:nth-child(2n) { color:red; }
list element 1 list element 2 list element 3 list element 4
See browser support here : CSS3 :nth-child() Selector