太极 + 炫光
html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>太极</title>
</head>
<style>
@keyframes myRote {
from {
transform: rotate(0deg);
} to {
transform: rotate(360deg);
}
}
body {
background-color: #999;
}
.box {
width: 0px;
height: 300px;
border-left: 150px solid #000000;
border-right: 150px solid #FFFFFF;
border-radius: 50%;
position: relative;
animation: myRote 4s linear infinite;
box-shadow: 0 0 8px 2px rgb(147, 204, 232);
}
.box::before {
content: "";
display: block;
width: 50px;
height: 50px;
border: 50px solid #000000;
background-color: #FFFFFF;
border-radius: 50%;
position: absolute;
left: -75px;
}
.box::after {
content: "";
display: block;
width: 50px;
height: 50px;
border: 50px solid #FFFFFF;
background-color: #000000;
border-radius: 50%;
position: absolute;
top: 150px;
left: -75px;
}
</style>
<body>
<div class="box">
</div>
</body>
</html>