Created
May 30, 2016 16:43
-
-
Save andrewplummer/a545923c754005b47c4900eb225a90f7 to your computer and use it in GitHub Desktop.
Sass hoisting @extend
This file contains hidden or 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.21) | |
// Compass (v1.0.3) | |
// ---- | |
.foo { | |
color: black; | |
} | |
.bar { | |
color: blue; | |
} | |
// ...Much later | |
.bar { | |
@extend .foo; | |
} |
This file contains hidden or 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
.foo, .bar { | |
color: black; | |
} | |
.bar { | |
color: blue; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment