3 ms·
> Notice how it’s the odd-numbered rows with a background? Given our selector (p:nth-child(even)), we might expect the even-numbered rows to be highlighted inst
by larrik 6y ago
> Notice how it’s the odd-numbered rows with a background? Given our selector (p:nth-child(even)), we might expect the even-numbered rows to be highlighted instead.
OR it counts rows from zero instead of 1, rather than all this about siblings...
- dhosek 6y agoThat was my thinking as well.
- deleted 6y ago[deleted]