#circle031 { margin-left: 150px; margin-top: 0px; } .circle01S { position: absolute; height: 600px; width: 600px; border-radius: 50%; background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='600' ry='600' stroke='%23EC3463' stroke-width='25' stroke-dasharray='50%25%2c 50%25' stroke-dashoffset='86' stroke-linecap='square'/%3e%3c/svg%3e"); transform: scale(95%,95%) rotate(90deg); animation: turnRound1 100s linear infinite; }
Gå op i HTML’en igen og lav denne div boks inden i den inderste div boks
< div class=”circle01S” > < /div>
< div class="circle01S" > < div class="circle01S" >
< div class="circle01S" >
< div class="circle01S" >
< div class="circle01S" >< /div>
< /div> < /div> < /div> < /div>
Gå ned i CSS’en igen og tilføj denne animation:
@keyframes turnRound1 { 0% {transform: scale(95%,95%) rotate(9deg);} 50% {transform: scale(95%,95%) rotate(360deg);} }