Answer the question
In order to leave comments, you need to log in
How to write media queries correctly?
Given: site layout at 3 resolutions 320рх, 768рх и 1200рх
- . I am making mobile first.
At the moment, the variables for media queries are:
@tablet: ~"screen and (min-width: 768px)";
@desktop: ~"screen and (min-width: 1200px)";
@tablet
and @desktop
. Everything works fine for mobile and desktop. Answer the question
In order to leave comments, you need to log in
https://developer.mozilla.org/en-US/docs/Web/CSS/M... read about orientation
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question