body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #272727;
}

ul {
  margin: 0;
  padding: 0;
  display: flex;
  border-bottom: 10px solid #fff;
}

ul li {
  list-style: none;
  width: 30px;
  height: 30px;
  background-color: #fff;
  margin: 0 10px;
  border-radius: 50%;
  animation: jumping 0.8s linear infinite;
}

@keyframes jumping {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-150px);
  }

  100% {
    transform: translateY(0);
  }
}

ul li:nth-child(1) {
  animation-delay: 0.5s;
}

ul li:nth-child(2) {
  animation-delay: 0.15s;
}

ul li:nth-child(3) {
  animation-delay: 0.65s;
}

ul li:nth-child(4) {
  animation-delay: 0.25s;
}

ul li:nth-child(5) {
  animation-delay: 0.85s;
}
