By applying the yui3-table-striped class to a table element, it applies the striping to the odd rows #1

Merged
merged 1 commit into from Mar 30, 2013

Conversation

Projects
None yet
2 participants
Contributor

Kevnz commented Mar 30, 2013

The nth child selector allows for the table to be marked and not every row.
Excellent browser coverage http://caniuse.com/#feat=css-sel3
Explained here http://dev.opera.com/articles/view/zebra-striping-tables-with-css3/

@Kevnz Kevnz Added striped table and nth child selector
The nth child selector allows for the table to be marked and not every row.
Excellent browser coverage http://caniuse.com/#feat=css-sel3
42b0dd2
Owner

tilomitra commented Mar 30, 2013

Thanks! I'll merge this in, but I think it makes sense to keep the existing class names as well, for people who are targeting IE6 and 7.

tilomitra merged commit 575af91 into tilomitra:master Mar 30, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment