//图片旋转
//图片样式
.loadingImg {
width: 30px;
height: 30px;
-webkit-animation-name: rotate;
-webkit-animation-duration: 1.5s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
}
//360度旋转
@-webkit-keyframes rotate {
from {
-webkit-transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
}
}
css图片360旋转动画
最新推荐文章于 2024-04-26 09:01:10 发布