Skip to content

Instantly share code, notes, and snippets.

@rickymanning
Created August 25, 2015 18:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rickymanning/24e7a4596b6d3435b91c to your computer and use it in GitHub Desktop.
Save rickymanning/24e7a4596b6d3435b91c to your computer and use it in GitHub Desktop.
Redesigning My Portfolio Blog - Step 02 - Add zebra striping CSS
.content > .section {
background-color: #fff;
}
.content > .section:nth-child(2n) {
background-color: #e6e6e6;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment