Jaki kod (kolory) wyświetli powyższy mixin?
$color: #f00;
@mixin button($color: #fff) {
font-size: 1.6rem;
text-decoration: none;
color: $color;
@content;
}
.button-error {
@include button {
background-color: $color;
}
}
Jaki kod (kolory) wyświetli powyższy mixin?
$color: #f00;
@mixin button($color: #fff) {
font-size: 1.6rem;
text-decoration: none;
color: $color;
@content;
}
.button-error {
@include button {
background-color: $color;
}
}