Skip to content

Instantly share code, notes, and snippets.

@5eleven
Created December 6, 2012 18:18
Show Gist options
  • Save 5eleven/4226734 to your computer and use it in GitHub Desktop.
Save 5eleven/4226734 to your computer and use it in GitHub Desktop.
Retina Media Queries
@media (min--moz-device-pixel-ratio: 1.5),
(-o-min-device-pixel-ratio: 3/2),
(-webkit-min-device-pixel-ratio: 1.5),
(min-device-pixel-ratio: 1.5),
(min-resolution: 144dpi),
(min-resolution: 1.5dppx) {
/* Muthafuken Retina! */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment