Skip to content

Instantly share code, notes, and snippets.

@yuanchuan
Created May 24, 2013 03:54
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 yuanchuan/5641197 to your computer and use it in GitHub Desktop.
Save yuanchuan/5641197 to your computer and use it in GitHub Desktop.
note for ie8 quirks
/* Both */
li:last-child, li.last-child {
border: none;
}
/* AND */
li.last-child, li:last-child {
border: none;
}
/* will be ignored in IE8, but works in ie6, 7 */
/* Need to seperate them */
li:last-child {
border: none;
}
li.last-child {
border: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment