Skip to content

Instantly share code, notes, and snippets.

@james2doyle
Created July 2, 2012 03:48
Show Gist options
  • Save james2doyle/3030932 to your computer and use it in GitHub Desktop.
Save james2doyle/3030932 to your computer and use it in GitHub Desktop.
Select every 2nd item in a row of 3 items
li:nth-child(3n-7) {
margin: 0 5%;
/*select every 2nd child in a row of three*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment