Skip to content

Instantly share code, notes, and snippets.

@jherax
Created January 8, 2019 23:16
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jherax/77ede9158e8d8ed79ec4787b2577b469 to your computer and use it in GitHub Desktop.
Disable auto-zoom in input elements - For Safari, iPhone
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no" />
/* @see
* https://stackoverflow.com/a/16255670/2247494
*/
@supports (-webkit-overflow-scrolling: touch) {
select,
textarea,
input {
font-size: 16px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment