Tuesday, June 19, 2012

Rotate text through CSS


.text{
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
/*filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);*/ /* Option for 90deg, -90deg */
filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678); /* It for any deg */
display:block;
position:relative;
margin-left:100px;
margin-left:50px\9;
font-family:Arial, Helvetica, sans-serif;
font-weight:normal;
font-size:20px;
}

No comments:

Post a Comment