rotate:设置旋转的角度
rotateX 沿着x轴进行旋转 rotateY 沿着y轴进行旋转
.mcStart {
// height: 70rpx;
// width: 70rpx;
display: flex;
flex-direction: row;
// position: absolute;
z-index: 99;
top: 1%;
left: 1%;
/*旋转动画*/
animation: box-ani 10s infinite linear;
}
@keyframes box-ani {
from {
transform: rotate(0)
}
to {
transform: rotate(360deg)
}
}