Animated Gradient Color on Text


h1 {
  background: linear-gradient(
    -225deg,
    #231557 0%,
    #44107a 29%,
    #ff1361 67%,
    #fff800 100%
  );
  font-size: 70px;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  -webkit-background-clip: text;
  text-fill-color: transparent;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: textShine 5s linear infinite;
}

@keyframes textShine {
  to {
    background-position: 200% center;
  }
}