<!DOCTYPE html>
<html>
<head>
<style>
.shap{
top:230px;
animation: shap 10s infinite ease;
width:100px;
height:200px;
background-color:white;
border-right:100px solid #000;
margin:30px auto;
position:relative;
border-radius:50%;
}
.shap:before{
content: "";
width:20px;
height:20px;
border:40px solid white;
background-color: #000;
position:absolute;
left:50%;
border-radius:50%;
}
.shap:after{
content: "";
width:20px;
height:20px;
border:40px solid #000;
background-color: white;
position:absolute;
left:50%;
top:50%;
border-radius:50%;
}
@keyframes shap{
0%{transform:rotate(0deg)}
100%{transform:rotate(360deg)}
}
</style>
</head>
<body style="background-color: pink;">
<div class="shap"></div>
</body>
</html>
太极
最新推荐文章于 2022-08-12 08:38:22 发布