Gradient animation

by Vladimir

HTML

<div>
Some text
</div>

CSS

div {
  color:#fff;
  font-size: 50px;
  background: linear-gradient(-45deg,#ee7752,#e73c7e,#23a6d5,#23d5ab);
  background-size: 400% 400%;
  animation: gradient 10s ease infinite;
  width: 100%;
  height: 550px;
  text-align: center;
  overflow: hidden;
  font-family: sans-serif;
  line-height: 550px;
}
 @keyframes gradient {
0% {
  background-position: 0% 50%
}

50% {
  background-position: 100% 50%
}

100% {
  background-position: 0% 50%
}
}