<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
        <style type="text/css">
            .box{
                width: 100px;
                height: 100px;
                background-color: red;
                border-radius: 50%;
                animation: walk 1s infinite alternate;
            }
            @keyframes walk{
                0%{transform: translate3d(0,0,0) scale(1) rotate(0deg) skew(0deg);}
                100%{transform: translate3d(0,100px,0) scale(1) rotate(90deg) skew(90deg);}
                /*50%{transform: translate3d(200px,100px,0)}*/
                /*75%{transform: translate3d(0,100px,0)}
                100%{transform: translate3d(0,0,0)}*/
            }
        </style>
    </head>
    <body>
        <div class="box"></div>
        
    </body>
</html>

3d动画转动效果

【动画开发】animation动画最简单写法

 

相关文章:

  • 2022-01-07
  • 2022-12-23
  • 2021-08-13
  • 2021-09-13
  • 2021-04-03
猜你喜欢
  • 2022-12-23
  • 2021-09-08
  • 2022-12-23
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
  • 2021-12-25
相关资源
相似解决方案