Answer the question
In order to leave comments, you need to log in
How to correctly set the initial scaling of a non-responsive layout on smartphones?
Hello.
The site is not designed responsively, but some elements have special behavior on smartphones through media queries (some elements are hidden, the layout changes, etc.). Asked
<meta name="viewport" content="width=device-width">
Answer the question
In order to leave comments, you need to log in
I often (but not always) use code like this. It shows the page in real size (scale 100%) and disables scaling. As a result, the site looks the same on all devices and browsers.
On the other hand, if the main content of the site is text, it makes more sense to give the user the ability to scale it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question