@mixin.scss
need to add!!!!!
@mixin transform($property) {
-webkit-transform: $property;
-ms-transform: $property;
transform: $property;
}
.box { @include transform(rotate(30deg)); }
Source:sass-lang.com
11
Sass @mixin and @includeCSS By SAMER SAEID on Dec 7 2020 ThankComment
@mixin important-text {
color: red;
font-size: 25px;
font-weight: bold;
border: 1px solid blue;
}