Rotating text with CSS

Posted By Venu Thomas

Jonathan Snook, published an interesting article that shows how to rotate text using CSS.

RotatingText_040809

The code is clear that it is not standard and only works in Safari / WebKit, Firefox and Internet Explorer.

RotatingText02_040809

 //CSS
.year {
width:10px;

/* WebKit, Safari */
-webkit-transform: rotate(-90deg);

/* Firefox 3.5+*/
-moz-transform: rotate(-90deg);

/* Internet Explorer */
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

An alternative standard, although more laborious, we propose the boys CSS-Tricks.

Tags: , ,

  •  
  • Share with others:

    Thanks for visiting us! If you enjoyed these icons please feel free to share them! Or if you want to know what's going on with WiseCodes.com, follow us!

    2 Responses to “Rotating text with CSS”

    1. [...] Rotating text with CSS [...]

    2. 網站製作學習誌 » [Web] 連結分享 your flag on August 13th, 2009 at 10:28 AM
    3. This article is Composed in,I was Appearanceing for the information.Thank you and your Reveal this articl at Right here

    4. Jared Liebermann your flag on August 11th, 2010 at 12:06 AM

    Leave a Reply

    Anti-Spam Protection by WP-SpamFree

    Locations of visitors to this page eXTReMe Tracker