Created
June 7, 2018 18:30
-
-
Save lahwran/4d657061d5e5eb1750e1d5a4781cf5e4 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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 (vundefined) | |
// Compass (vundefined) | |
// dart-sass (v1.2.1) | |
// ---- | |
@mixin a-mixin() { | |
content: "mixin root"; | |
&.mixin-ampersand { | |
content: "this is an ampersanded subselector of the mixin"; | |
} | |
} | |
%an-extendable { | |
content: "extendable root"; | |
&.extendable-ampersand { | |
content: "this is an ampersanded subselector of the extendable"; | |
} | |
} | |
.an-extender-of-an-extendable { | |
@extend %an-extendable; | |
} | |
.a-user-of-a-mixin { @include a-mixin(); } | |
.a-class { | |
content: "this is the root of .a-class"; | |
&.a-class-ampersand { | |
content: "this is an ampersanded subselector of .a-class"; | |
} | |
} | |
.an-extender-of-a-class { | |
@extend .a-class; | |
} |
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
.an-extender-of-an-extendable { | |
content: "extendable root"; | |
} | |
.extendable-ampersand.an-extender-of-an-extendable { | |
content: "this is an ampersanded subselector of the extendable"; | |
} | |
.a-user-of-a-mixin { | |
content: "mixin root"; | |
} | |
.a-user-of-a-mixin.mixin-ampersand { | |
content: "this is an ampersanded subselector of the mixin"; | |
} | |
.a-class, .an-extender-of-a-class { | |
content: "this is the root of .a-class"; | |
} | |
.a-class.a-class-ampersand, .a-class-ampersand.an-extender-of-a-class { | |
content: "this is an ampersanded subselector of .a-class"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment