Created
March 20, 2013 21:23
-
-
Save FokkeZB/5208595 to your computer and use it in GitHub Desktop.
The ultimate responsive viewport meta-tag. Most docs tell you to use with=device-width and user-scalable=no only. But when you change the orientation of your iPad or iPhone from portrait to landscape, you'll notice the websites scales up. By adding minimum-scale=1.0 and maximum-scale=1.0 you fix this problem.
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 name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment