来给你,css的完整设置
.flat {
-webkit-transition-property: -webkit-transform;
-webkit-transition-duration: 0.1s;
-moz-transition-property: -moz-transform;
-moz-transition-duration: 0.1s;
-o-transition-property: -o-transform;
-o-transition-duration: 0.1s;
-ms-transition-property: -ms-transform;
-ms-transition-duration: 0.1s;
transition-property: transform;
transition-duration: 0.1s;
-webkit-transform: rotateY(45deg);
-webkit-transform-origin: 100px 0px;
-moz-transform: rotateY(45deg);
-o-transform: rotateY(45deg);
-ms-transform: rotateY(45deg);
transform: rotateY(45deg);
}