Created
June 28, 2016 13:33
-
-
Save malithmcr/7db1a43dfc2819a04ca039675aa56531 to your computer and use it in GitHub Desktop.
A CSS media query for high DPI aware devices.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media | |
only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 1300px), | |
only screen and ( min--moz-device-pixel-ratio: 2) and (min-width: 1300px), | |
only screen and ( -o-min-device-pixel-ratio: 2/1) and (min-width: 1300px), | |
only screen and ( min-device-pixel-ratio: 2) and (min-width: 1300px), | |
only screen and ( min-resolution: 192dpi) and (min-width: 1300px), | |
only screen and ( min-resolution: 2dppx) and (min-width: 1300px) { | |
//code | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment