-webkit-transform not working in Internet Explorer
-
20-06-2021 - |
Question
I've found that -webkit-transform: rotateZ(10deg);
doesn't work in Internet Explorer 9. What can be used instead of that using CSS3?
La solution
Have you tried -ms-transform:rotateZ(10deg);
?
As -webkit
is 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/
Autres conseils
3D transforms don't work in IE9. IE10 does support them, though.
Here's a chart of supported browsers: http://caniuse.com/transforms3d
you can use 2D transforms in ie9 - i.e. :
-ms-transform: rotate(25deg);
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow