CSS转换在IE7 [英] CSS Transforms in IE7

查看:197
本文介绍了CSS转换在IE7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  -webkit-transform:scale(1.05); / * Safari和Chrome * / 
-moz-transform:scale(1.05); / * Firefox * /
-o-transform:scale(1.05); / * Opera * /
-ms-transform:scale(1.05); / * IE 9 * /
transform:scale(1.05);

这里不支持ie7 letyou已知的答案,请尽快回复我。

解决方案

我不确定我是否理解您的问题。在IE8或更早版本中不支持CSS变换,您必须使用IE矩阵过滤器才能实现相同的效果(缩放或旋转)。



(代码为IE8及更早版本,请在 http:///上面的使用IE8或更旧的版本 /jsfiddle.net/thebabydino/5XdSy/ ):

  filter:progid:DXImageTransform.Microsoft.Matrix b $ b M11 = 1.05,
M12 = 0,
M21 = 0,
M22 = 1.05,
SizingMethod ='auto expand');

此外,你的代码是CSS,你把它放在div标签之间。


Hi am using css transform in scale property my code is like this

-webkit-transform: scale(1.05); /* Safari and Chrome */ 
-moz-transform: scale(1.05);    /* Firefox */
-o-transform: scale(1.05);      /* Opera */
-ms-transform: scale(1.05);     /* IE 9 */
transform: scale(1.05);

Here not supported in ie7 letyou known the answer please reply me ASAP.

解决方案

I'm not sure I understand your question. CSS transforms are not supported in IE8 or older, where you have to have to use an IE matrix filter in order to achieve the same effect (scale or rotate).

Like this (code for IE8 and older, check it live with IE8 or older at http://jsfiddle.net/thebabydino/5XdSy/ ):

filter: progid:DXImageTransform.Microsoft.Matrix(
            M11=1.05,
            M12=0,
            M21=0,
            M22=1.05,
            SizingMethod='auto expand');

Also, your code is CSS and you've put it between div tags.

这篇关于CSS转换在IE7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆