旋转案例

div{
width: 200px;
height: 200px;
background-color: pink;
margin: 100px auto;
transition:all 0.6s;
transform-origin: right bottom;
}
div:hover{
transform: rotate(360deg);
}

猜你喜欢

转载自www.cnblogs.com/Yanss/p/10252929.html
今日推荐