11
Mar
div
{
width:100px;
height:75px;
background-color:red;
border:1px solid black;
}
div#div2
{
transform:rotateX(120deg);
-webkit-transform:rotateX(120deg) /* Safari and Chrome */
}

Note: Internet Explorer, Firefox and Opera does not support the rotateX method.

Hello. This is a DIV element.
Hello. This is a DIV element.


Posted by on 11 Mar 2011 by vipin in HTML & CSS

Add reply

*