I'm having an issue looping this gradient over this text without an annoying jump appearing upon the animation looping. I'd like it to infinitely move across the next smoothly, so that annoying stutter isn't present. Any clue how I'd properly go about this?
Here's a live example of my code on CodePen,
and here's the corresponding HTML and CSS:
<pre class="header">
88888888888 888 888 8888888888 8888888b. .d88888b. .d8888b. .d8888b. 888 888 888b d888 8888888b. 8888888888 888b 888
888 888 888 888 888 Y88b d88P" "Y88b d88P Y88b d88P Y88b 888 888 8888b d8888 888 "Y88b 888 8888b 888
888 888 888 888 888 888 888 888 Y88b. Y88b. 888 888 88888b.d88888 888 888 888 88888b 888
888 8888888888 8888888 888 d88P 888 888 "Y888b. "Y888b. 888 888 888Y88888P888 888 888 8888888 888Y88b 888
888 888 888 888 8888888P" 888 888 "Y88b. "Y88b. 888 888 888 Y888P 888 888 888 888 888 Y88b888
888 888 888 888 888 888 888 "888 "888 888 888 888 Y8P 888 888 888 888 888 Y88888
888 888 888 888 888 Y88b. .d88P Y88b d88P Y88b d88P Y88b. .d88P 888 " 888 888 .d88P 888 888 Y8888
888 888 888 8888888888 888 "Y88888P" "Y8888P" "Y8888P" "Y88888P" 888 888 8888888P" 8888888888 888 Y888
</pre>
.header{
text-align: center;
font-family: monospace;
display:block;
background-image:
linear-gradient(to right, #ff0000 0%, #ff9a00 10%, #d1de21 20%, #4fdc4a 30%, #3fdad8 40%, #2fc9e2 50%, #1c7fee 60%, #5f15f2 70%, #ba0cf8 80%, #fb07d9 90%, #ff0000 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: move 35s linear infinite;
}
@keyframes move {
to {
background-position: 1600vh;
}
}
Any help would be greatly appreciated, as i'm thoroughly stumped. Thank you!