CSS Transforms in IE7

后端 未结 2 862
一向
一向 2020-12-19 15:16

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


        
相关标签:
2条回答
  • 2020-12-19 15:51

    Older IE browsers don't support CSS transformations. Try using a polyfill like Transformie.

    0 讨论(0)
  • 2020-12-19 16:12

    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.

    0 讨论(0)
提交回复
热议问题