div
{
width:200px;
height:100px;
background-color:yellow;
/* Rotate div */
}
div:hover{
width:200px;
height:100px;
background-color:yellow;
/* Rotate div */
transform:rotate(-5deg) translateZ(0px);
transform-origin:0% 0% 0px;
}
鼠标移入效果
原始状态