.eq {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  block-size: 2rem;
  margin: 1rem;
}

.eq span {
  --i: 0;
  inline-size: 6px;
  block-size: 20%;
  background-color: seagreen;
  animation: bar 0.6s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -0.2s);
}

.eq span:nth-child(2) {
  --i: 1;
}

.eq span:nth-child(3) {
  --i: 2;
}

@keyframes bar {
  to {
    block-size: 100%;
  }
}
