<div class="container">
  <div class="text">
    <span style="--i:-4">A</span>
    <span style="--i:-3">s</span>
    <span style="--i:-4">w</span>
    <span style="--i:-1">a</span>
    <span style="--i:0">t</span>
    <span style="--i:1">h</span>
    <span style="--i:2">y</span>
    <span style="--i:3">.</span>
    <span style="--i:4">s</span>
  </div>
</div>
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.container {
  width: 100%;
  min-height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(15, 222, 230);
}

.text span {
  font-size: 60px;
  display: inline-block;
  text-align: center;
  width: 60px;
  text-transform: uppercase;
  position: relative;
  color: #111;
  z-index: 5;
}

.text span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: rgb(255, 208, 0);
  z-index: -1;
  box-shadow: 0 5px 5px #111;
}

.text:hover span::before {
  animation: fillBg 1s ease forwards;
  animation-delay: calc(100ms * var(--i));
}

@keyframes fillBg {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
    transform: rotate(calc(15deg * var(--i)));
  }
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.