Skip to content

Instantly share code, notes, and snippets.

@JohnAlbin
Created September 10, 2013 12:50
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 JohnAlbin/6508945 to your computer and use it in GitHub Desktop.
Save JohnAlbin/6508945 to your computer and use it in GitHub Desktop.
Sass & Compass, Chapter 1: Repetitive selectors
// Sass (v3.2.10)
// Compass (v0.13.alpha.4)
ul.side-nav li {
a:link,
a:visited {
color: #0000cc;
}
a:focus,
a:hover,
a:active {
color: #cc0000;
}
}
ul.side-nav li a:link,
ul.side-nav li a:visited {
color: #0000cc;
}
ul.side-nav li a:focus,
ul.side-nav li a:hover,
ul.side-nav li a:active {
color: #cc0000;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment