Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kharissulistiyo/f4f9c7a2cb2abc8ec3a4 to your computer and use it in GitHub Desktop.
Save kharissulistiyo/f4f9c7a2cb2abc8ec3a4 to your computer and use it in GitHub Desktop.
/* Samsung Galaxy S4 Landscape */
@media screen (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi)
and (device-width: 1920px)
and (orientation: landscape) {
/* Your styles here */
}
/* Samsung Galaxy S4 Portrait */
@media screen (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi)
and (device-width: 1080px)
and (orientation: portrait) {
/* Your styles here */
}
/*
http://en.wikipedia.org/wiki/List_of_displays_by_pixel_density#Samsung
http://cssmediaqueries.com/target/Samsung+Galaxy+S4.html
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment