Posted By

JimSangwine on 05/05/11


Tagged


Versions (?)

Text Rotation


 / Published in: CSS
 

  1. .rotate {
  2. /* Safari */
  3. -webkit-transform: rotate(-90deg);
  4.  
  5. /* Firefox */
  6. -moz-transform: rotate(-90deg);
  7.  
  8. /* Internet Explorer */
  9. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
  10. }
  11.  
  12. /* The example above rotates text 90 degrees counterclockwise.
  13.  
  14. The rotation property of Internet Explorer’s BasicImage filter can accept one of four values: 0, 1, 2, or 3 which will rotate the element 0, 90, 180 or 270 degress respectively. */

Report this snippet  

You need to login to post a comment.