I've included the 'viewport' metatag in the head of my webpage:
<meta name="viewport" content="width=device-width, user-scalable=no" />
The metatag works perfectly on iOS devices, but Android devices completely ignore it.
What am I doing wrong?
Try to leave out the user-scalable=no
argument. I've found Android tends to have trouble with that attribute and ignores the whole viewport tag when it finds something it dislikes.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.