2012-05-18 20 views
4

喜来变换正在使用scale属性我的代码的CSS变换是这样CSS在IE7

-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); 

在IE7 letyou知道答案请尽快回复我这里不支持。

+4

你实际上没有在那里问过问题。 –

回答

3

旧的IE浏览器不支持CSS转换。尝试使用像Transformie这样的polyfill。

+0

您的链接导致断开的链接。你可以在GitHub上找到[插件](https://github.com/pbakaus/transformie)。 – Sampson

4

我不知道我理解你的问题。 IE8或更高版本不支持CSS转换,您必须使用IE矩阵过滤器才能实现相同的效果(缩放或旋转)。

像这样(为IE8和旧的代码,检查它在http://jsfiddle.net/thebabydino/5XdSy/生活与IE8或以上):

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

而且,你的代码是CSS,你已经把它放在div标签之间。