首页 > 其他 > 详细

太极图

时间:2019-10-01 23:38:56      阅读:184      评论:0      收藏:0      [点我收藏+]
<!DOCTYPE HTNL>
<html lang="en">
<html>
<mate charset="utf-8">
<head>
<title></title>
<style>
*{padding:0;
margin:0;}

div{
width:200px;
height:200px;
background-image: linear-gradient(90deg,red 50%,white 50%);

border-radius:50%;
margin:200px auto;
animation:zhuan 2s infinite linear;

}
div:before{
            content:"";
            width: 40px;
            height: 40px;
            background-color: white;
            border:30px solid red;
            position:absolute;
            left:50px;
            border-radius:50%;
            
 
        }
        div:after{
            content:"";
            width: 40px;
            height: 40px;
            background-color:red;
            border:30px solid white;
            position:absolute;
            left:50px;
            top:100px;
            border-radius:50%;
            
            
        }
 @keyframes zhuan{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}

</style>
</head>
<body style="background-color:black;">
<div></div>
</body>

技术分享图片

 

太极图

原文:https://www.cnblogs.com/niuyaomin/p/11616356.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!