Created
October 12, 2012 22:32
-
-
Save nonlinear/3882005 to your computer and use it in GitHub Desktop.
CSS: media query for orientation
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
@media all and (orientation:portrait) { | |
/* Style adjustments for portrait mode goes here */ | |
} | |
@media all and (orientation:landscape) { | |
/* Style adjustments for landscape mode goes here */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment