-
-
Save diegoachury/92d9f43aaabbaf49d8b60132ac5b14b8 to your computer and use it in GitHub Desktop.
iPhone 6/6 Plus and Apple Watch CSS media queries
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
/* iPhone 6 landscape */ | |
@media only screen and (min-device-width: 375px) | |
and (max-device-width: 667px) | |
and (orientation: landscape) | |
and (-webkit-min-device-pixel-ratio: 2) | |
{ } | |
/* iPhone 6 portrait */ | |
@media only screen | |
and (min-device-width: 375px) | |
and (max-device-width: 667px) | |
and (orientation: portrait) | |
and (-webkit-min-device-pixel-ratio: 2) | |
{ } | |
/* iPhone 6 Plus landscape */ | |
@media only screen | |
and (min-device-width: 414px) | |
and (max-device-width: 736px) | |
and (orientation: landscape) | |
and (-webkit-min-device-pixel-ratio: 3) | |
{ } | |
/* iPhone 6 Plus portrait */ | |
@media only screen | |
and (min-device-width: 414px) | |
and (max-device-width: 736px) | |
and (orientation: portrait) | |
and (-webkit-min-device-pixel-ratio: 3) | |
{ } | |
/* iPhone 6 and 6 Plus */ | |
@media only screen | |
and (max-device-width: 640px), | |
only screen and (max-device-width: 667px), | |
only screen and (max-width: 480px) | |
{ } | |
/* Apple Watch */ | |
@media | |
(max-device-width: 42mm) | |
and (min-device-width: 38mm) | |
{ } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment