与任何其他浏览器相比,Safari上的背景图像看起来更亮。
当我删除background-size: cover
时,图像颜色看起来像预期的那样。
如何同时保持正常颜色和background-size: cover
?
body {
background-image: url('https://lh5.googleusercontent.com/-QpCNI9iXEEE/Uq5gxSpxOJI/AAAAAAAAABM/HwVK1nETGPE/I/philadelphia_night_view.jpg');
background-repeat: no-repeat;
background-size: cover;
}
OS X Mountain Lion 10.8.3, Safari:6.0.3