Answer the question
In order to leave comments, you need to log in
How often to declare a media query?
Good afternoon, I use a separate css file for each block in the project. The site is adapted for phones.
Example:
header.css
contenr.css
block1.css
and so on.
Now for the mobile version media query is used in one file, example:
mobile-480.css
@media (min-width: 0px) and (max-width: 480px) {
/* Здесь все стили для всего сайта под 480px */
}
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