css3实现匀速无限滚动效果

<div class="ddiv" style="">

  //这里的图片是一个圆圈

  <img class=‘dimg‘ src="video_c.png" >

</div>

.dimg{

  //infinite 无限循环 linear 匀速运动
  animation:2s animation1 infinite linear;
}
@keyframes animation1{
  0%{
    transform: rotate(0deg);
  }
  100%{
    transform: rotate(360deg);
  }
}

文章来自:https://www.cnblogs.com/webwangjie/p/9612891.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3