Skip to content

Instantly share code, notes, and snippets.

@cristianferrarig
Last active December 15, 2015 05:19
Show Gist options
  • Save cristianferrarig/5208411 to your computer and use it in GitHub Desktop.
Save cristianferrarig/5208411 to your computer and use it in GitHub Desktop.
Media Query for high pixel ratio devices // iPhone 4, Opera Mobile 11 and others
@media
only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
// Styles
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment