牢记渐进增强、浏览器/设备支持、“移动优先”和多种 iOS“视网膜”显示比例......这个目标是否正确并且仍然提供旧版支持?
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and ( min--moz-device-pixel-ratio: 2),
only screen and ( -o-min-device-pixel-ratio: 2/1),
only screen and ( min-device-pixel-ratio: 2),
only screen and ( min-resolution: 192dpi),
only screen and ( min-resolution: 2dppx) { @import '2x'; }
我已经看到它看起来几乎太容易了:
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and ( min-resolution: 192dpi) { @import '2x'; }