跳到主要内容

旋转一圈

旋转 360 度一次后停止。

效果预览
参数调节
完整代码
/* 旋转一圈 */
@keyframes spinOnce {
  from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.spin-once { animation: spinOnce .8s ease-in-out both; }