JSFiddle - React, Tailwind, and code Playground

by graphettion

HTML

<progress max="100" value="80">

</div>

CSS

progress {
  position: fixed;
  background-color: #f13200;
  -webkit-animation-duration: 15s;
          animation-duration: 15s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
}
progress {
  top: 5px;
  height: 2px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 0 0 3px 2px rgba(255,0,0,0.6);
  -webkit-animation-name: progress-bar-movement;
          animation-name: progress-bar-movement;
}
progress {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  top: 4px;
  box-shadow: 0 0 2px 3px rgba(255,0,0,0.6);
  -webkit-animation-name: end-point-movement;
          animation-name: end-point-movement;
}
@-webkit-keyframes progress-bar-movement {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
@keyframes progress-bar-movement {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
@-webkit-keyframes end-point-movement {
  from {
    left: 0%;
  }
  to {
    left: 100%;
  }
}
@keyframes end-point-movement {
  from {
    left: 0%;
  }
  to {
    left: 100%;
  }
}