July 30, 2009
5:24 am | Last updated: July 30, 2009 at: 5:31 am

You might’ve seen some people using calendar pic to show post dates & time on their blog, now you can avoid using those resource hugry background pic with simple CSS trick. Jonathan Snook posted a nice nugget on text rotation with CSS that takes a nice bit of markup like this:

HTML:

<div class="example-date">
<span class="day">31</span>
<span class="month">July</span>
<span class="year">2009</span>
</div>

CSS:

-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);

More info: Text Rotation

Source:→ Ajaxian

Loading

Contextual Related Posts:

1 Response | RSS comments on this post | Leave a comment»

  1. 1
    Anirudh says#1 | August 11th, 2009 at 8:00 pm

    I had a query. The filter for Internet Explorer doesnt seem to work. can u jus tell me how to go about that?

No Pingback yet

PingBack URI

Leave a Response

Comment Preview
« Google Ad Manager: Geotargeting Line ItemMicrosoft acknowledges Windows 7 activation crack »
Feed Icon

Subscribe via RSS or email: