我正在尝试使用以下代码将文本旋转到270度: /* Safari */-webkit-transform: rotate(-90deg);/* Firefox */-moz-transform: rotate(-90deg);/* IE */-ms-transform: rotate(-90deg);/* Opera */-o-transform: rotate(-90deg);/* Internet
/* Safari */ -webkit-transform: rotate(-90deg); /* Firefox */ -moz-transform: rotate(-90deg); /* IE */ -ms-transform: rotate(-90deg); /* Opera */ -o-transform: rotate(-90deg); /* Internet Explorer */ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
它适用于所有浏览器,但不适用于IE8.我究竟做错了什么?
试试这个:-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.00000000, M12=1.00000000, M21=-1.00000000, M22=0.00000000,sizingMethod='auto expand')"; filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.00000000, M12=1.00000000, M21=-1.00000000, M22=0.00000000,sizingMethod='auto expand'); -moz-transform: matrix(0.00000000, -1.00000000, 1.00000000, 0.00000000, 0, 0); -webkit-transform: matrix(0.00000000, -1.00000000, 1.00000000, 0.00000000, 0, 0); -o-transform: matrix(0.00000000, -1.00000000, 1.00000000, 0.00000000, 0, 0);