import mixin from another file
@import "../../../theme/main.scss"
import mixin from another file
@import "../../../theme/main.scss"
sass mixin
@mixin transform($property) {
-webkit-transform: $property;
-ms-transform: $property;
transform: $property;
}
.box { @include transform(rotate(30deg)); }
sass @use not working
As of 8/2020 @use is only compatible with Dart Sass.
Check compatibility with documentation.
https://sass-lang.com/documentation/at-rules/use
scss npm import
npm uninstall node-sass
npm install [email protected]
Sass @import and Partials
@import "variables";
@import "colors";
@import "reset";
reset.scss
@import "reset";
body {
font-family: Helvetica, sans-serif;
font-size: 18px;
color: red;
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us