wangbenqing
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style type="text/css">

        #img{

            width:200px;
            height:200px;
            border:100px solid green;
            border-left-color: red;
            border-right-color: black;
            border-top-color: yellow;
            margin:100px;
            border-radius:50%;
            -webkit-animation:circle 1s infinite linear;
            -moz-animation:circle 1s infinite linear;
        }
        @-webkit-keyframes circle{
            0%{ transform:rotate(0deg); }
            100%{ transform:rotate(-360deg); }
        }
        @-moz-keyframes circle{
            0%{ transform:rotate(0deg); }
            100%{ transform:rotate(-360deg); }
        }

    </style>

</head>
<body>
<div id="img"></div>
</body>
</html>

  

分类:

技术点:

相关文章:

  • 2021-12-02
  • 2021-08-01
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-12
  • 2022-01-05
  • 2022-12-23
  • 2022-12-23
  • 2021-05-04
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案