转圈代码
<i class="el-icon-loading"></i>
.el-icon-loading {
animation: rotating 2s linear infinite
}
.el-icon--right {
margin-left: 5px
}
.el-icon--left {
margin-right: 5px
}
@keyframes rotating {
0% {
transform: rotate(0deg)
}
to {
transform: rotate(1turn)
}
}
标签:el,right,transform,转圈,rotating,5px,图标,css,icon
From: https://blog.51cto.com/u_15694202/7412708