Answer the question
In order to leave comments, you need to log in
Can a SASS file be split into multiple CSS files?
Maybe some comments on the beginning and end of the blocks, so that several style-n.css can be compiled from one style.scss?
Answer the question
In order to leave comments, you need to log in
Write in different .sass files (this will be correct in any situation) and collect as many different css from them as you like.
As Andrey said above, only by creating several files, for example, you need to get 2 files as an output: main.css and ie8.css, then we rename the files in the sass folder (the first 3 are connected to main.css via import):
sass\
_normalize. scss
_base.scss
_media.scss
main.scss
ie8.scss
and run
sass --watch sass:css
where sass and css are directory names, we have 2 files as output.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question