<svg version="1.1" x="0" y="0" width="150px" height="150px" viewBox="-10 -10 120 120" enable-background="new 0 0 200 200" xml:space="preserve">
<path
class="circle"
d="M0,50 A50,50,0 1 1 100,50 A50,50,0 1 1 0,50"
/>
</svg>
body {
background: #E1E1E1;
text-align: center;
}
svg{
width: 200px;
height: 200px;
display:inline-block;
padding:0px;
transform:rotate(90deg);
-webkit-transform:rotate(90deg);
}
.circle {
fill: transparent;
stroke: #55acee;
stroke-width:3px;
-webkit-animation: 1.5s circle infinite ease-in;
animation: 1.5s circle infinite ease-in;
}
@keyframes circle {
0% {
stroke-dasharray:0 400;
stroke-dashoffset: 0;
}
25%{
stroke-dashoffset: 0;
}
100% {
stroke-dasharray:400 400;
stroke-dashoffset: -400;
}
}
@-webkit-keyframes circle {
0% {
stroke-dasharray:0 400;
stroke-dashoffset: 0;
}
25%{
stroke-dashoffset: 0;
}
100% {
stroke-dasharray:400 400;
stroke-dashoffset: -400;
}
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.