Created
March 10, 2016 20:45
-
-
Save TxHawks/6d08f8a0f6deddf951ae to your computer and use it in GitHub Desktop.
nested mixin ruby-sass
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.21) | |
// Compass (v1.0.3) | |
// ---- | |
@mixin parent { | |
@mixin nested { | |
key: value | |
} | |
@include nested; | |
} | |
test { | |
@include parent; | |
} |
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
Mixins may not be defined within control directives or other mixins. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment