移动web开发(二)——viewport

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, target-densitydpi=device-dpi" />

http://www.cnblogs.com/bugs/archive/2013/06/17/3139811.html

 

腾讯:

<meta name="viewport" content="width=100%, initial-scale=1.0, user-scalable=no"/>

 

 第一:

<meta name="viewport" content="width=device-width, initial-scale=1">
View Code

 

 第二:

<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" />
View Code

 

 

 

参考:

移动前端开发之viewport的深入理解.http://www.cnblogs.com/2050/p/3877280.html

viewport工具.http://viewportsizes.com/

移动web开发,文字是否有必要根据分辨率调整文字大小?http://www.itnose.net/detail/6139437.html

posted @ 2015-05-24 11:33  长城的草  阅读(176)  评论(0编辑  收藏  举报