Text Rotation with CSS


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <div class="example-date">
  2. <span class="day">31</span>
  3. <span class="month">July</span>
  4. <span class="year">2009</span>
  5. </div>
  6.  
  7. -webkit-transform: rotate(-90deg);
  8. -moz-transform: rotate(-90deg);
  9. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.