Skip to content

Instantly share code, notes, and snippets.

@andyxmas
Created November 17, 2021 12:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andyxmas/b9da855ce756d1426ddec9cf51be585d to your computer and use it in GitHub Desktop.
Save andyxmas/b9da855ce756d1426ddec9cf51be585d to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
@mixin test($color, $size) {
color: $color;
size: $size;
}
.test {
@include test(red, 16px);
}
.test2 {
@include test(red, 16px);
}
%red-16 {
@include test(red, 16px);
}
.test3 {
@extend %red-16;
}
.test4 {
@extend %red-16;
}
.test {
color: red;
size: 16px;
}
.test2 {
color: red;
size: 16px;
}
.test4, .test3 {
color: red;
size: 16px;
}
{
"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