Created
December 7, 2014 06:16
-
-
Save zhigang1992/7b0f4d55d3ad63c8a570 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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.4.7) | |
// Compass (v1.0.1) | |
// ---- | |
.parent { | |
$color: red; | |
.son { | |
$color: black; | |
color: $color; | |
} | |
.something { | |
color: $color; //This one here is black, but expecting red; | |
} | |
} |
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
.parent .son { | |
color: black; | |
} | |
.parent .something { | |
color: black; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment