使用CSS3过渡,jQuery和&amp ;;的字体渲染效果不佳的问题Google字体

在Firefox中,没有问题。这是一张图片: http://cl.ly/3R0L1q3P1r11040e3T1i 在Safari中,文本渲染效果不佳: http://cl.ly/0a1101341r2E1D2d1W46 在IE7& IE8,情况更糟,但我没有照片。对不起:( 我正在使用Isotope jQuery插件,而CSS3过渡似乎导致了糟糕的字体渲染。 我也在使用Google Font API。 以下是Isotope的CSS转换编写为:
/**** Isotope CSS3 transitions ****/

.isotope,
.isotope .isotope-item {
-webkit-transition-duration: 0.8s;
-moz-transition-duration: 0.8s;
transition-duration: 0.8s;
}

.isotope {
-webkit-transition-property: height, width;
-moz-transition-property: height, width;
transition-property: height, width;
}

.isotope .isotope-item {
-webkit-transition-property: -webkit-transform, opacity;
-moz-transition-property: -moz-transform, opacity;
transition-property: transform, opacity;
}
我很感激任何帮助。在Firefox中看起来很棒! 谢谢!     
已邀请:
忘记IE一分钟,您可以将-webkit-font-smoothing属性添加到.isotope-item样式定义中。像这样:
.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
  -moz-transition-property: -moz-transform, opacity;
  transition-property: transform, opacity;
  -webkit-font-smoothing: antialiased
}
原因似乎与支持3d过渡有关。 Isotope使用Modernizr自动检测对3d过渡的支持,并使用“translate3d”而不是“translate”。我真正想要的是:
-webkit-font-smoothing: subpixel-antialiased
但这似乎只适用于Chrome,并使Safari恢复了以前的样子。要清楚,Chrome不会出现抗锯齿问题,但会遵守上面的样式定义。 我正在考虑修改同位素的来源,以便它只将这种字体平滑定义添加到支持3D变换的浏览器(即Safari)中并单独留下Chrome。     
不幸的是,你无能为力。它与IE用于创建不透明度的alpha过滤器有关,我从未见过它的修复程序。     

要回复问题请先登录注册