When the animation resets, there is a visible break in the animation.
Here is what I have:
@keyframes AnimationName {
0% {
background-position: 100% 0%
}
100% {
background-position: 0% 0%
}
}
.myanimation {
width: 50px;
height: 150px;
background: repeating-linear-gradient(-45deg, #43ABC9, #43ABC9 7px, #369ebc 7px, #369ebc 14px);
animation: AnimationName 2s linear infinite;
background-size: 200% 200%;
}
<div class="myanimation"></div>
How can I make it smooth and unnoticeable?