Answer the question
In order to leave comments, you need to log in
Why do media queries work differently when shrinking the browser window and in responsive mode?
This is probably a dumb question, but I googled and couldn't find an answer. Help, please)
For example, there is a media query:
@media screen and (min-width:600px) and (max-width: 900px) {
.col_3 {width:50%}
}
Answer the question
In order to leave comments, you need to log in
In adaptive mode (or mobile device emulation mode), the pixel density value (specified directly or defined for the selected device) is also taken into account, so if you select a device with a pixel density value greater than one, then the values in your media queries are recalculated taking into account this parameter.
If you simply change the size of the browser window, this recalculation does not occur.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question