Created
May 13, 2014 16:03
-
-
Save jserrao/f49eb3e004fbd82ca7d0 to your computer and use it in GitHub Desktop.
Media Queries for iPad
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
/* CSS for iPad in Portrait (includes iPad mini, iPad air, etc) */ | |
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) { } | |
/* CSS for iPad in Landscape (includes iPad mini, iPad air, etc) */ | |
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape) { } | |
/* Target Landscape and Portrait iPad in oen call */ | |
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait), @media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape) { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment