SVG
SVG CSS.
, XD
, , svg stroke-dasharray;
, .
body {
background-color: #222;
}
.load {
fill: none;
stroke: #e8f6fd;
stroke-width: 5;
stroke-dasharray: 200 300;
transform: rotate(142deg);
transform-origin: 50px 50px;
animation: progress 5s linear reverse;
}
@keyframes progress {
from {
stroke-dasharray: 200 300;
}
to {
stroke-dasharray: 0 300;
}
}
.spesial {
stroke: #1cadeb;
stroke-dasharray: 5 300;
transform: rotate(30deg);
animation: circpro 5s linear;
}
@keyframes circpro {
from {
transform: rotate(-220deg);
}
to {
transform: rotate(30deg);
}
}
<svg viewBox="0 0 100 100" width="200px">
<circle class="load" cx="50" cy="50" r="45" />
<circle class="load spesial" cx="50" cy="50" r="45" />
</svg>
Hide result