Skip to content

Instantly share code, notes, and snippets.

@andreia
Created July 18, 2012 22:14
Show Gist options
  • Save andreia/3139278 to your computer and use it in GitHub Desktop.
Save andreia/3139278 to your computer and use it in GitHub Desktop.
Zebra tables with structural pseudo-classes
tr:nth-child(2n+1){ background: ‪#fff‬ }
tr:nth-child(2n+0){ background: ‪#ffffec‬ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment