.{ background: linear-gradient(-45deg, #1ccdd8, #29194f, #1fa6ba, #29194f, #29194f); background-size: 400% 400%; animation: ci-gradient 10s ease infinite; } @keyframes ci-gradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }