Skip to content

Instantly share code, notes, and snippets.

@nedrichards
Forked from marcedwards/high-dpi-media.css
Last active December 27, 2015 13:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nedrichards/7335829 to your computer and use it in GitHub Desktop.
Save nedrichards/7335829 to your computer and use it in GitHub Desktop.
/* A media query that captures all currently shipping HiDPI devices To test: view http://bjango.com/articles/min-device-pixel-ratio/ on the offending device */
/* A media query that captures all currently shipping HiDPI devices
To test: view http://bjango.com/articles/min-device-pixel-ratio/ on the offending device */
@media only screen and (-webkit-min-device-pixel-ratio: 1.3),
only screen and (min-resolution: 1.3dppx)
{
/* Things you want to change in hidpi here */
}
@dsingleton
Copy link

Is this robust/all-base-covering? Seems a bit.. short?

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