-webkit-transform not working in Internet Explorer

时间秒杀一切 提交于 2019-12-04 23:46:58

问题


I've found that -webkit-transform: rotateZ(10deg); doesn't work in Internet Explorer 9. What can be used instead of that using CSS3?


回答1:


Have you tried -ms-transform:rotateZ(10deg);?

As -webkitis also a vendor specific prefix, you'll have to add those for non-webkit browsers, too.

(like -ms, -moz, -o)

Check out this CSS3 3D Transforms Tutorial for more info: http://www.pageresource.com/css3/3d-transforms-tutorial/




回答2:


3D transforms don't work in IE9. IE10 does support them, though.

Here's a chart of supported browsers: http://caniuse.com/transforms3d




回答3:


you can use 2D transforms in ie9 - i.e. :

-ms-transform: rotate(25deg);


来源:https://stackoverflow.com/questions/11460377/webkit-transform-not-working-in-internet-explorer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!