第一:
<meta name="viewport" content="width=device-width, initial-scale=1">
第二:
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no"> <meta name="format-detection" content="telephone=no" /> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta http-equiv="pragma" content="no-cache" />
参考:
移动前端开发之viewport的深入理解.http://www.cnblogs.com/2050/p/3877280.html
viewport工具.http://viewportsizes.com/
移动web开发,文字是否有必要根据分辨率调整文字大小?http://www.itnose.net/detail/6139437.html
时间: 2024-10-08 10:44:37