How to import files in SASS?
Answers
Answered by
0
You can @import SCSS or CSS files by adding an underscore to the beginning of the scss/css filename, and leaving the underscore and file extension off when importing it into your stylesheet.
For example:
Name your stylesheet something like: _stylesheet.scss.
Then in theme.scss, reference it like this:
@import “stylesheet”;
For example:
Name your stylesheet something like: _stylesheet.scss.
Then in theme.scss, reference it like this:
@import “stylesheet”;
Similar questions
Geography,
8 months ago
Math,
8 months ago
Environmental Sciences,
8 months ago
Science,
1 year ago
Science,
1 year ago
Science,
1 year ago
Math,
1 year ago
Social Sciences,
1 year ago