The code
<meta charset="utf-8" & gt;
<style type="text/CSS" & gt;
The taiji {position: relative; width: 200px; height: 200px; border-radius: 50%; background-color: #fff; border:solid 1px #ccc; animation: spin 6s linear infinite;/* animation set */}
. Tj_1 {position: absolute; top: 0px; width: 50%; height: 100%; }
. Tj_big1 {left: 0 px; border-radius:100% 0 0 100%/50% 0 0 50%; background: #000; }
. Tj_big2 {right: 0 px; Border - the radius: 0/0 0 100% 100% 50% 50% 0; background: #fff; }
. Tj_2 {position: absolute; width: 50%; height: 50%; left: 25%; border-radius: 50%; }
. Tj_s1 {bottom: 0 px; background: #fff; }
. Tj_s2 {top: 0 px; background: #000; }
. Tj_ss {position: absolute; width: 25%; Height: 25%; Left: 37.5%; border-radius: 50%; }
. Tj_w {top: 37.5%; background: #000; }
. Tj_b {top: 37.5%; background: #fff; }
/* */animation method
@ keyframes spin {
{
0%transform:rotate(0deg);
}
{
100%transform:rotate(360deg);
}
}
</style>
<body>