CSS3 变换:在 IE 中缩放 [英] CSS3 transform:scale in IE
本文介绍了CSS3 变换:在 IE 中缩放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用 CSS3 属性 transform:scale.
I would like to use the CSS3 property transform:scale.
div
{
transform: scale(0.5,0.5);
}
有没有办法在 Internet Explorer 8 及更低版本中模仿这一点?可能是 filter
或 Javascript 解决方案?
Is there a way to imitate this in Internet Explorer 8 and lower?
May be something with filter
or a Javascript solution?
我在网上搜索过,没有任何结果.
I've searched the web without any result.
非常感谢,文森特
推荐答案
IE9 支持变换:
-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 变换:在 IE 中缩放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文