Answer the question
In order to leave comments, you need to log in
Scaling and dpi, the existence of separate media queries?
Greetings!
On some, for example, laptops, the default scaling is 125% or 150%, the question is how to correctly determine in styles that the scaling is different from 100%?
There are certain media expressions for the number of dpi (pixels per inch), for example:
media screen and (min-device-pixel-ratio: 2) {
…
}
They seem to work for scaling, but they also work for retina.
Maybe there are separate expressions for scaling and retina?
The site is laid out in pixels, I would not want to remake it in relative values.
Answer the question
In order to leave comments, you need to log in
The site is laid out in pixels, I would not want to remake it in relative values.
@media screen and (min-width: 900px) { }
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question