win-circle-ticker
Windows circle ticker
by Aakash Khapare M
HTML
<div class="win-circle-ticker">
<span class="dot"></span>
<span class="dot"></span>
<span class="dot"></span>
<span class="dot"></span>
<span class="dot"></span>
</div>
CSS
.win-circle-ticker{
position: relative;
height: 50px;
width: 50px;
background-color: #fff;
}
.win-circle-ticker > .dot{
position: absolute;
height: 5px;
width: 5px;
border-radius: 50%;
background-color: #000;
animation-name: circle-around;
animation-duration: 5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
top: 23.5px;
left: 45px;
opacity: 0;
transform-origin: -25px;
}
.win-circle-ticker>.dot:nth-child(2){animation-delay: 0.2s}
.win-circle-ticker>.dot:nth-child(3){animation-delay: 0.4s}
.win-circle-ticker>.dot:nth-child(4){animation-delay: 0.6s}
.win-circle-ticker>.dot:nth-child(5){animation-delay: 0.8s}
@keyframes circle-around{
1%{
opacity: 1;
}
99%{
transform: rotate(720deg);
opacity: 0.9;
}
100%{
opacity: 0;
}
}