本文介绍了CSS3 transform:在IE中缩放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用CSS3属性transform:scale。
I would like to use the CSS3 property transform:scale.
div
{
transform: scale(0.5,0.5);
}
有没有办法在Internet Explorer 8或更低版本中模仿?
可能是过滤器
或Javascript解决方案的东西?
Is there a way to imitate this in Internet Explorer 8 and lower?May be something with filter
or a Javascript solution?
感谢很多,Vincent
Thanks a lot, Vincent
推荐答案
:
-ms-transform: scale(0.5,0.5);
对于其他版本的IE,有一个复杂的语法。像这样:
For other versions of IE, there's a complex syntax. Something like this:
filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand',
M11=1.5320888862379554, M12=-1.2855752193730787,
M21=1.2855752193730796, M22=1.5320888862379558);
查看了解详情。
这篇关于CSS3 transform:在IE中缩放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!