<div class="progress">
<div class="track">
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
</div>
</div>
body{
background-color: #2e2e2e;
}
div.track, div.bar{
box-sizing: border-box;
position: relative;
}
div.progress{
width: 100px;
padding-left: 2px;
padding-right: 2px;
height: 21px;
border-radius: 5px;
border: solid 3px #4e4e4e;
background-color: #1e1e1e;
position: absolute;
top: calc(50% - 13px);
left: calc(50% - 53px);
}
div.track{
position: relative;
width: 100%;
height: 21px;
overflow: hidden;
animation: prgBar 5s linear 0s infinite alternate;
animation: prgBar 5s linear 0s infinite alternate;
}
div.bar{
height: 15px;
width: 6px;
background-color: #00ffff;
position: relative;
border-radius:2px;
box-shadow: 0px 0px 5px #00ffff;
margin-left: 2px;
margin-right: 2px;
margin-bottom: 100px;
top: 3px;
float: left;
clear: top;
}
@-webkit-keyframes prgBar{
0% {width: 0%}
9.99% {width: 0%}
10% {width: 10%}
95% {width: 100%}
}
@keyframes prgBar{
0% {width: 0%}
9.99% {width: 0%}
10% {width: 10%}
95% {width: 100%}
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.