太极旋转代码效果图展示

- <!DOCTYPE html>
- <html lang="en">
-     <head>
-         <meta charset="UTF-8">
-         <title>太极旋转</title>
-         <style type="text/css">
-             div{
-                 margin: auto;
-                 width: 400px;
-                 height: 200px;
-                 border: solid red;
-                 border-width: 200px 1px 1px 1px;
-                 border-radius: 50%;
-                 position: relative;
-                 -webkit-animation: circle_taiji 2s linear infinite;
-                         animation: circle_taiji 2s linear infinite;
-             }
-             div::before{
-                 content: "";
-                 width: 40px;
-                 height: 40px;
-                 background-color: red;
-                 border: 80px solid white;
-                 border-radius: 50%;
-                 position: absolute;
-                 top: -100px;
-                 left: 0px;
-             }/*添加为元素边框宽度*/
-             div::after{
-                 content: "";
-                 width: 40px;
-                 height: 40px;
-                 background-color: white;
-                 border: 80px solid red;
-                 border-radius: 50%;
-                 position: absolute;
-                 top: -100px;
-                 left: 200px;
-             }
-             @-webkit-keyframes circle_taiji{
-                 form{transform: rotate(0deg);}
-                 to{transform: rotate(360deg);}
-             }
-             @keyframes circle_taiji{
-                 form{transform: rotate(0deg);}
-                 to{transform: rotate(360deg);}
-             }
-         </style>
-     </head>
-     <body>
-         <div></div>
-     </body>
- </html>