Answer the question
In order to leave comments, you need to log in
How to write condition for SCSS/SASS import?
Example
There are two files: "styles.scss" and "_if.scss"
The file "_if.scss" contains the following code
.foo {
background: red
}
.bar {
background: url(bar.png)
}
@import "if";
inside styles.scss
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question