Blog Archives


Sep
6

Rotate Text

Posted in CSS by Admin

0


FireFox, Webkit, Opera use: {code type=css}-webkit-transform: rotate(-45deg); //Webkit -moz-transform: rotate(-45deg); // FireFox -o-transform: rotate(-45deg); // Opera 10.5 display:inline-block; {/code} In order to perform a transformation, the element has to be set to display:block or display:inline-block. In this case, just add the declaration to the span that you want to rotate. For Internet Explorer 5.5 to 8 use: {code type=css}filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);{/code} The rotation property of the BasicImage filter
Read More