我正在尝试保存photoshop中的图像,以便在网页中使用,但它在我的网页上显示的大小是Photoshop中的两倍。它也看起来有点模糊,就像它被放大了200%一样。
图片为600px x 165px,图片的CSS如下:
display: block;
width: 600px;
height: 165px;
background: transparent url(logo.png) left top no-repeat;
text-indent: 100%;
overflow: hidden;
white-space: nowrap;
为什么它在Chrome中的显示尺寸是在Photoshop中的两倍?如何让Chrome以正确的大小显示它?
https://stackoverflow.com/questions/38151561
复制