Created
July 4, 2013 17:16
-
-
Save jupegarnica/5929186 to your computer and use it in GitHub Desktop.
forcing web-site to show in landscape-portait mode only
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
#warning-message { display: none; } | |
@media only screen and (orientation:portrait){ | |
#wrapper { display:none; } | |
#warning-message { display:block; } | |
} | |
@media only screen and (orientation:landscape){ | |
#warning-message { display:none; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment