Skip to content

Instantly share code, notes, and snippets.

@lamchau
Forked from matthewhudson/metatags.html
Created October 31, 2013 17:00
Show Gist options
  • Save lamchau/7253215 to your computer and use it in GitHub Desktop.
Save lamchau/7253215 to your computer and use it in GitHub Desktop.
<!-- Disable auto-linking of phone numbers. -->
<meta name="format-detection" content="telephone=no">
<!-- Enables the web application runs in full-screen mode. -->
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- Sets the style of the status bar for a web application. -->
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<!-- Sets the initial scale and turns off user scaling. -->
<meta name="viewport" content="initial-scale = 2.3, user-scalable = no">
* {
/* Safari displays a callout containing information when you touch and hold a touch target such as a link. This property allows you to disable that callout. */
-webkit-touch-callout: none;
/* Disable user selection/copy of UIWebView content. */
-webkit-user-select: none;
/* Specifies a size adjustment for displaying text content in Safari on iPhone. */
-webkit-text-size-adjust: none;
}
/* Native buttons/controls: http://css-infos.net/property/-webkit-appearance */
button, input[type=submit] {
-webkit-appearance: button;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment