Why are some websites not zoomable on iPad?

2019-04-30 00:26发布

Does anybody have any idea why iPad zoom (you know, where you use two fingers to enlarge the text/screen) does not work on some sites?

For example:

  • facebook.com
  • c3.arc.nasa.gov/nex/ ± the site that I'm working on.

Google search does not reveal anything, which makes me think it’s not a common problem.

Thanks beforehand for any insights.

标签: html css ipad zoom
1条回答
做个烂人
2楼-- · 2019-04-30 00:45

This lack of zooming is by design; the website has chosen to disallow zooming. It's done with the viewport meta tag. For instance,

<meta name="viewport" content="initial-scale=1, maximum-scale=1">

prevents zooming.

查看更多
登录 后发表回答