back
Code
CSS
HTML
Web

#div297{
width:170px;
height:150px;
border:2px solid black;
perspective:none;
-webkit-perspective:none;

}

#div298{
margin:0 auto;
width:100px;
height:100px;
background-color:red;
transform: rotateX(45deg);
}

#div299{
width:170px;
height:150px;
border:2px solid black;
perspective:100px;
-webkit-perspective:100px;

}

#div300{
margin:0 auto;
width:100px;
height:100px;
background-color:red;
transform: rotateX(45deg);
}