h1
  for letter, index in 'Waaave'.split('')
    span(style=`--index: ${index}`)= letter
View Compiled
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@699;700&display=swap");
:root {
  --lower: 100;
  --upper: 700;
}
body {
  min-height: 100vh;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center;
  background: #262626;
}
h1 {
  font-family: 'Roboto Mono', monospace;
  font-size: 7rem;
  text-align: center;
  color: #fff;
  font-variation-settings: 'wght' var(--lower);
}
h1 span {
  -webkit-animation: rise 2.25s infinite ease-in-out;
          animation: rise 2.25s infinite ease-in-out;
  -webkit-animation-delay: calc((var(--index) - 6) * 0.25s);
          animation-delay: calc((var(--index) - 6) * 0.25s);
}
@-webkit-keyframes rise {
  50% {
    font-variation-settings: 'wght' var(--upper);
  }
}
@keyframes rise {
  50% {
    font-variation-settings: 'wght' var(--upper);
  }
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.