我注意到我在网站上的一些图片在Chrome和Mozilla中看起来都是低分辨率的,它们看起来很好。
这是截图
在Chrome:

在Mozilla:

我能做些什么来解决这个问题?
我发现了这样的东西,但没什么用
img {
image-rendering: optimizeSpeed; /* */
image-rendering: -moz-crisp-edges; /* Firefox */
image-rendering: -o-crisp-edges; /* Opera */
image-rendering: -webkit-optimize-contrast; /* Chrome (and Safari) */
image-rendering: optimize-contrast; /* CSS3 Proposed */
-ms-interpolation-mode: nearest-neighbor; /* IE8+ */
}这是它的外观,当我添加图像渲染:像素化;

发布于 2021-03-06 17:53:11
测试这个:
1.脉冲"Ctrl + 0“(0)它的返回到100%的网页大小。
它对我有用。;)
https://stackoverflow.com/questions/31842316
复制相似问题