Skip to content

Instantly share code, notes, and snippets.

@magicianShiro
Created November 21, 2017 09:55
Show Gist options
  • Save magicianShiro/519078b0ca62f178e17eaa29fdd741f1 to your computer and use it in GitHub Desktop.
Save magicianShiro/519078b0ca62f178e17eaa29fdd741f1 to your computer and use it in GitHub Desktop.
移动端meta
<!--使用 viewport meta 标签在手机浏览器上控制布局-->
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1" />
<!--通过快捷方式打开时全屏显示-->
<meta name="apple-mobile-web-app-capable" content="yes" />
<!--隐藏状态栏-->
<meta name="apple-mobile-web-app-status-bar-style" content="blank" />
<!--iPhone会将看起来像电话号码的数字添加电话连接,应当关闭-->
<meta name="format-detection" content="telephone=no" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment