Skip to content

Instantly share code, notes, and snippets.

@zwacky
Created July 17, 2013 07:43
Show Gist options
  • Save zwacky/6018534 to your computer and use it in GitHub Desktop.
Save zwacky/6018534 to your computer and use it in GitHub Desktop.
viewport setup to correctly handle orientation changes on mobile devices, also disabling scaling/pinching
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment