Grow your CSS skills. Land your dream job.

Rotate an element in IE

  • # June 18, 2009 at 2:04 pm

    I need a way to rotate div in IE.
    In Safari and Firefox 3.5 you can use:

    Code:
    -moz-transform: rotate(20deg);
    -webkit-transform: rotate(20deg);

    But I don’t know how to make the div rotate in IE.

    I’ve seen the Mircosoft Matrix filter (http://msdn.microsoft.com/en-us/library … 85%29.aspx), but don’t understand how it works.

    Any help would be appreciated.

    # June 18, 2009 at 2:43 pm

    As far as I know, you can’t without using some javascript.

    # June 18, 2009 at 3:12 pm

    I just did a quick search and found this http://wilq32.googlepages.com/wilq32.rollimage222 which actually looks pretty cool. I may have to look for an excuse to use it somewhere myself. :D

    # June 18, 2009 at 4:10 pm

    Thanks for the link. I’ve seen that before. I was just wondering if it could be done in CSS. Guess not, but thanks for the help. :)

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".