Skip to content

Instantly share code, notes, and snippets.

@natan-morar
Created April 25, 2020 08:36
Show Gist options
  • Save natan-morar/b391db94fb43ad06bc5376918b4ce3ca to your computer and use it in GitHub Desktop.
Save natan-morar/b391db94fb43ad06bc5376918b4ce3ca to your computer and use it in GitHub Desktop.
@mixin mix1{
font-size: 12px;
}
@mixin mix2{
@include mix;
color: blue;
}
@mixin mix3{
@include mix2;
color: red;
border: 1px solid red;
}
@mixin mix4{
@include mix3;
color: green;
border: 3px solid green;
}
.style{
font-size: 14px;
}
.style{
@include mix4;
}
.style2{
@extend .style;
background: red;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment