Answer the question
In order to leave comments, you need to log in
If there is a media query, use it otherwise take the default value?
The situation is this:
If you set some property in template.css, and set media queries for small screens and mobile phones, then it will take the value from template.css anyway and ignore what is in media queries, how to make it look in media queries first, and then in template.css
Answer the question
In order to leave comments, you need to log in
It makes sense to do the opposite. Default value in normal code, and all modifications in media queries.
And it is best to make mobile phones by default. The method is called mobile first and allows you to design your site from smallest to largest and avoid loading images that are too large for mobile devices.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question