Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/powerbi/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css 视网膜图像在铬中看起来更暗_Css_Retina - Fatal编程技术网

Css 视网膜图像在铬中看起来更暗

Css 视网膜图像在铬中看起来更暗,css,retina,Css,Retina,我已经为一个div设置了一个视网膜背景图像。它在firefox中正确显示,但在chrome中看起来更暗。如何解决这个问题? 提及 Html <div class="retina_img"> </div> 你能创建一个可以看到问题的提琴吗?图像文件中是否嵌入了任何颜色配置文件信息…?我已在提琴中更新。请检查它@内森·李在你的帖子上看不到。在斋月重新检查小提琴 .retina_img { background: url("imageuploadimg.png"

我已经为一个div设置了一个视网膜背景图像。它在firefox中正确显示,但在chrome中看起来更暗。如何解决这个问题? 提及

Html

<div class="retina_img">

</div>

你能创建一个可以看到问题的提琴吗?图像文件中是否嵌入了任何颜色配置文件信息…?我已在提琴中更新。请检查它@内森·李在你的帖子上看不到。在斋月重新检查小提琴
.retina_img
 {
    background: url("imageuploadimg.png") no-repeat scroll 0 50% / 100% 100% #FFFFFF;
    background:-webkit-image-set( url('imageuploadimg.png') 1x,url('imageuploadimg@2x.png') 2x);
    width: 142px;
    height: 101px;
}