.container {
  position: relative;
  left: -9999px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #7f7f7f;
  color: #7f7f7f;
  box-shadow: 9999px 0 0 -5px;
  animation: container 1.5s infinite linear;
  animation-delay: 0.25s;
  margin: 2px 24px;
}
.container::before,
.container::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #7f7f7f;
  color: #7f7f7f;
}
.container::before {
  box-shadow: 9984px 0 0 -5px;
  animation: container-before 1.5s infinite linear;
  animation-delay: 0s;
}
.container::after {
  box-shadow: 10014px 0 0 -5px;
  animation: container-after 1.5s infinite linear;
  animation-delay: 0.5s;
}

@keyframes container-before {
  0% {
    box-shadow: 9984px 0 0 -5px;
  }
  30% {
    box-shadow: 9984px 0 0 2px;
  }
  60%,
  100% {
    box-shadow: 9984px 0 0 -5px;
  }
}
@keyframes container {
  0% {
    box-shadow: 9999px 0 0 -5px;
  }
  30% {
    box-shadow: 9999px 0 0 2px;
  }
  60%,
  100% {
    box-shadow: 9999px 0 0 -5px;
  }
}
@keyframes container-after {
  0% {
    box-shadow: 10014px 0 0 -5px;
  }
  30% {
    box-shadow: 10014px 0 0 2px;
  }
  60%,
  100% {
    box-shadow: 10014px 0 0 -5px;
  }
}
