Answer the question
In order to leave comments, you need to log in
How to change the zoom level on mobile devices using js?
There is a page with animation: by clicking on the button, the page scrolls down, then the div is animated. On iPhones / Androids, if a person initially enlarged the button, then the scroll occurs in the corresponding place of the cropped div, and the idea with the animation is not visible.
Is it possible to somehow programmatically zoom the page to the width of the device?
Answer the question
In order to leave comments, you need to log in
Either I misunderstood the question, or you just need to <head>
add a tag to
<meta name="viewport" content="width=device-width">
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question