Created
April 27, 2012 00:27
-
-
Save astockwell-ps/2504468 to your computer and use it in GitHub Desktop.
CSS: iOS Orientation/Zoom Solved
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
/* Via http://css-tricks.com/forums/discussion/13461/landscape-orientation/p1 */ | |
<meta name="viewport" content="width=device-width; initial-scale=1" /> | |
<!-- Add "maximum-scale=1" to fix the weird iOS auto-zoom bug on orientation changes. --> | |
@media (max-device-width: 480px) and (orientation: landscape) {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment