Posted By

satie83 on 08/12/12


Tagged

css image rotation


Versions (?)

CSS - Rotating an image or text – transform


 / Published in: CSS
 

  1. /* for firefox, safari, chrome, and any other gecko/webkit browser */
  2. -webkit-transform: rotate(-90deg);
  3. -moz-transform: rotate(-90deg);
  4.  
  5. /* for ie */
  6. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
  7.  
  8. /* opera */
  9. -o-transform: rotate(30deg);

Report this snippet  

You need to login to post a comment.