我在iPhone 5上...我开始更新我的网站,使用视网膜图像。一切都在Safari中完美运行。出于某种原因,我的body
的背景图像没有使用它,而且它的超级模糊。有任何想法吗?这是一个错误?这就是我对视网膜显示媒体查询:Chrome iOS不使用视网膜背景图像
body {
background:
url(../images/logo.png) no-repeat,
url(style/images/dark/bg5.jpg) 50% 0 no-repeat,
url(style/images/dark/bg5_repeater.png) repeat bottom;
background-attachment: fixed;
background-color:#09273e;
color:#e4e4e4;
background-position: 15px 10px, top, bottom;
}
@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) {
body, #header {
background: url(../images/dark/[email protected]) repeat;
background-size: 70px 70px;
}
}
这里是链接到文件和代码行,在我的到位桶:http://bit.ly/Sxevfg
这里是Safari和Chrome之间的一些截图太iOS 7.1.1。
非常感谢
刚刚注意到,在移动设备上查看此页面,stackoverflow时,屏幕截图为像素化LOL – jaminroe