@media only screen and (-webkit-min-device-pixel-ratio: 2), /* webkit浏览器 */ only screen and (min-resolution: 2dppx) { /* 非webkit浏览器 */ .box { background: url(highres.png); } }
@media only screen and (-webkit-min-device-pixel-ratio: 2), /* webkit浏览器 */ only screen and (min-resolution: 2dppx) { /* 非webkit浏览器 */ .box { background: url(highres.png); } }