Created
May 2, 2013 03:11
-
-
Save yorkfx/5499926 to your computer and use it in GitHub Desktop.
Adaptar imagenes segun resolución /* no testeado */
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 (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) { | |
img{ | |
image-resolution: 1.5dppx; | |
width: 50%; | |
height: auto; | |
} | |
} | |
@media screen ( min-resolution: 72dpi) { | |
img{ | |
image-resolution: 72dpi; | |
width: 100%; | |
height: auto | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment