1.png 图片在ie9下有锯齿。 2.我给一个元素加渐变效果,渐变做了兼容性在ie9下也没有显示。
渐变代码:background: -moz-linear-gradient(top, #33a1e6, #4272d7);
background: -ms-linear-gradient(top, #33a1e6, #4272d7);
background: -o-linear-gradient(top, #33a1e6, #4272d7);
background: -webkit-gradient(linear, center top, center bottom, from(#33a1e6), to(#4272d7));
background: -webkit-linear-gradient(top, #33a1e6, #4272d7);
background: linear-gradient(top, #33a1e6, #4272d7);
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
ie9是不支持linear-gradient的。
详见https://developer.mozilla.org/zh-CN/docs/Web/CSS/linear-gradient
PNG图片锯齿的话,看下是保存的png8还是24的格式?