Created
February 1, 2021 16:37
-
-
Save justusromijn/3214896a53e65a2f6c6272af1ee8f77f 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
@mixin some-mixin() { | |
@include button(); | |
text-decoration: none; | |
&--primary { | |
color: blue; | |
@extend %primary; | |
} | |
} | |
@mixin button() { | |
font-family: Arial; | |
} | |
%primary { | |
color: red; | |
} | |
.button { | |
@include some-mixin(); | |
} |
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
.button--primary { | |
color: red; | |
} | |
.button { | |
font-family: Arial; | |
text-decoration: none; | |
} | |
.button--primary { | |
color: blue; | |
} |
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.26.11", | |
"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