Created
September 10, 2013 12:50
-
-
Save JohnAlbin/6508945 to your computer and use it in GitHub Desktop.
Sass & Compass, Chapter 1: Repetitive selectors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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