Created
November 15, 2010 18:39
-
-
Save iammerrick/700751 to your computer and use it in GitHub Desktop.
The ampersand with reference the parent selector. Mmmm....
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
// SCSS | |
a{ | |
color: #ff0000; | |
&:hover{ | |
color: #660000; | |
} | |
} | |
// CSS Output | |
a{ color: #ff0000; } | |
a:hover{ color: #660000; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment