Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .button {
- border-radius: 4px;
- border: 4px solid black;
- }
- @mixin button($name, $background-color) {
- .#{$name}-button {
- background-color: $background-color;
- @extend .button;
- }
- }
- @include button('search', blue);
- @include button('cancel', red);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement