Last active
August 29, 2015 14:00
-
-
Save RockyMyx/11206170 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" /> | |
<meta content="yes" name="apple-mobile-web-app-capable" /> | |
<meta content="black" name="apple-mobile-web-app-status-bar-style" /> | |
<meta content="telephone=no" name="format-detection" /> | |
第一个meta标签表示:强制让文档的宽度与设备的宽度保持1:1,并且文档最大的宽度比例是1.0,且不允许用户点击屏幕放大浏览; | |
第二个meta标签是iphone设备中的safari私有meta标签,它表示:允许全屏模式浏览; | |
第三个meta标签也是iphone的私有标签,它指定的iphone中safari顶端的状态条的样式; | |
第四个meta标签表示:告诉设备忽略将页面中的数字识别为电话号码; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment