Created
June 8, 2016 13:57
-
-
Save tommydunn/8ed6697a04959f345343d475331cfbed to your computer and use it in GitHub Desktop.
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
/* ----------- Galaxy S3 ----------- */ | |
/* Portrait and Landscape */ | |
@media screen | |
and (device-width: 320px) | |
and (device-height: 640px) | |
and (-webkit-device-pixel-ratio: 2) { | |
} | |
/* Portrait */ | |
@media screen | |
and (device-width: 320px) | |
and (device-height: 640px) | |
and (-webkit-device-pixel-ratio: 2) | |
and (orientation: portrait) { | |
} | |
/* Landscape */ | |
@media screen | |
and (device-width: 320px) | |
and (device-height: 640px) | |
and (-webkit-device-pixel-ratio: 2) | |
and (orientation: landscape) { | |
} | |
/* ----------- Galaxy S4 ----------- */ | |
/* Portrait and Landscape */ | |
@media screen | |
and (device-width: 320px) | |
and (device-height: 640px) | |
and (-webkit-device-pixel-ratio: 3) { | |
} | |
/* Portrait */ | |
@media screen | |
and (device-width: 320px) | |
and (device-height: 640px) | |
and (-webkit-device-pixel-ratio: 3) | |
and (orientation: portrait) { | |
} | |
/* Landscape */ | |
@media screen | |
and (device-width: 320px) | |
and (device-height: 640px) | |
and (-webkit-device-pixel-ratio: 3) | |
and (orientation: landscape) { | |
} | |
/* ----------- Galaxy S5 ----------- */ | |
/* Portrait and Landscape */ | |
@media screen | |
and (device-width: 360px) | |
and (device-height: 640px) | |
and (-webkit-device-pixel-ratio: 3) { | |
} | |
/* Portrait */ | |
@media screen | |
and (device-width: 360px) | |
and (device-height: 640px) | |
and (-webkit-device-pixel-ratio: 3) | |
and (orientation: portrait) { | |
} | |
/* Landscape */ | |
@media screen | |
and (device-width: 360px) | |
and (device-height: 640px) | |
and (-webkit-device-pixel-ratio: 3) | |
and (orientation: landscape) { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment