Created
May 7, 2021 18:12
-
-
Save rachel-church/891aff99ab330605b8192f9c121fb4ba 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
/* Notice in the compiled css how .world and .hello each have their own copies of the test mixin styles */ | |
@mixin text { | |
color: black; | |
font-size: 30px; | |
font-weight: bold; | |
} | |
.hello{ | |
@include text; | |
} | |
.world{ | |
@include text; | |
color: grey; | |
} | |
/* Notice in the compiled css how .world2 and .hello2 share the placeholder styles */ | |
%text { | |
color: black; | |
font-size: 30px; | |
font-weight: bold; | |
} | |
.hello2{ | |
@extend %text; | |
} | |
.world2{ | |
@extend %text; | |
color: grey; | |
} |
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
/* Notice in the compiled css how .world and .hello each have their own copies of the test mixin styles */ | |
.hello { | |
color: black; | |
font-size: 30px; | |
font-weight: bold; | |
} | |
.world { | |
color: black; | |
font-size: 30px; | |
font-weight: bold; | |
color: grey; | |
} | |
/* Notice in the compiled css how .world2 and .hello2 share the placeholder styles */ | |
.world2, .hello2 { | |
color: black; | |
font-size: 30px; | |
font-weight: bold; | |
} | |
.world2 { | |
color: grey; | |
} |
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": { | |
"compiler": "dart-sass/1.32.12", | |
"extensions": {}, | |
"syntax": "SCSS", | |
"outputStyle": "expanded" | |
}, | |
"autoprefixer": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment