Firefox blurs an image when scaled through external CSS or inline style.

后端 未结 9 1178
粉色の甜心
粉色の甜心 2020-12-03 05:15

When I visually scale an image, Firefox 3 blurs it. Firefox 2 and other browsers don\'t, which is the behavior I expect. This is especially lame for creating a web based gam

9条回答
  •  春和景丽
    2020-12-03 05:46

    You should avoid scaling the image on the clientside. Scaling an image upwards is like zooming, the browser doesn't have the information for the image to display it in higher resolution than it really is, so you can't do that without bluring the image, maybe it's not noticebale in IE, try changing 200px to 400px.

提交回复
热议问题