Answer the question
In order to leave comments, you need to log in
Should all media styles be written in one file?
I make websites using GULP. I compile all files into one style.min.css I got
to adaptation and a question appeared.
I used to write all media styles in one media.scss file.
But this is inconvenient, because you need to search for the necessary code fragment in a large code, and here, in fact, the question is:
Is there a difference how to write styles? I can write my own styles in each file, or I can combine everything into one file. There is a difference?
Answer the question
In order to leave comments, you need to log in
In scss you can do this in any file
.item {
...
@media (max-width: 1040px) {
...
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question