Rotate text in IE, without it getting ugly

前端 未结 4 573
不思量自难忘°
不思量自难忘° 2020-12-31 05:47

I\'d like to rotate a text by 90 degrees counter-clockwise. Firefox and Chrome are no problem, using:

-webkit-transform-origin: top left;
-webkit-transform:          


        
4条回答
  •  借酒劲吻你
    2020-12-31 06:24

    It is Def the text rendering engine in IE; however, it's doable.

    filter: requires the element to have layout (ie. zoom). You can beat the rendering problem (most of the time), by giving the element a background color. Try the following on your example:

    zoom:1;
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
    background-color:white;
    

提交回复
热议问题