Created
April 25, 2020 08:36
-
-
Save natan-morar/b391db94fb43ad06bc5376918b4ce3ca to your computer and use it in GitHub Desktop.
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 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