Skip to content

Instantly share code, notes, and snippets.

@sindre

sindre/gist:3003712

Forked from madrobby/gist:2997187
Created Jun 27, 2012
Embed
What would you like to do?
The ultimate media query to rule them all ("all" being high DPI/"Retina" screens)
@media (-moz-min-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: 1.5dppx) {
/* "retina" styles */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.