Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

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 tilomitra added a commit that referenced this pull request Mar 30, 2013

@tilomitra tilomitra Merge pull request #1 from Kevnz/master
By applying the yui3-table-striped class to a table element, it applies the striping to the odd rows
575af91

@tilomitra 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