Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@alexcican
Created February 6, 2013 21:57
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexcican/4726254 to your computer and use it in GitHub Desktop.
Save alexcican/4726254 to your computer and use it in GitHub Desktop.
CSS3 Media Query for serving different images on retina devices
/* future proof retina targetting */
@media (-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx), {
}
@alexcican
Copy link
Author

Snippet from the video tutorial: http://vimeo.com/59101559

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment