I tried to create the CSS3 transform simple demos, i got struck as i am not able to see the element is rotating when i use transform:rotate(180deg)
see the codepen:http://codepen.io/shmdhussain/pen/yYMWba
HTML:
<div class="box transz"></div>
<div class="box rotatex"></div>
CSS:
.box {
background-color: red;
width: 100px;
height: 100px;
}
.transz {
/*Translate Z transform*/
transform: translate3d(100px, 200px, 100px);
}
.rotatex {
transform: rotate( 180deg);
}