[tips] css3 transform rotating - works in IE too

3:13 AM

(0) Comments

hi all , we here now with a small design tip
did you wished before that you have the ability to rotate a html element image or div or even paragraph that was impossible in css 2 but here with css3 that is extremely easy
here is snippet to do it


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


and if you notice the last line
filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
here we used the filter property in ie and use the DXImageTransform filter to do such effect :)
see you in another tip

eslam

, , ,

0 Responses to "[tips] css3 transform rotating - works in IE too"

Post a Comment