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
/* load http://www.modernizr.com/ then, do following for Retina display. */ | |
.className { | |
background:url(test@1x.png); /* low res img */ | |
} | |
@media only screen and (-webkit-min-device-pixel-ratio:2) { | |
.backgroundsize .className { | |
background:url(test@2x.png); /* high res img */ | |
} | |
} |