Created
February 7, 2013 04:10
-
-
Save JohnAlbin/4728417 to your computer and use it in GitHub Desktop.
Sass is for Superman: Parent 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
/** | |
* @file | |
* Sass is for Superman: Parent selectors | |
*/ | |
.button { | |
border-color: #666; | |
.haz-border-shadow & { | |
border-color: lighten(#666, 25%); | |
} | |
} | |
a { | |
outline: 1px solid black; | |
&:link { | |
color: blue; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment