Answer the question
In order to leave comments, you need to log in
Why in css3 animation, at a low playback speed in 90s, the image moves in jerks?
Friends, I want to make the background move in one direction, then in the other direction, I decided to make animations on css3. But as it turned out, at a low playback speed in the 90s, the picture moves in jerks. How can this be avoided if possible? How to achieve smooth animation?
.mountains{
animation: bg-movement 95s ease infinite;
}
@keyframes bg-movement {
0%,
100% {
background-position: 0 0%
}
50% {
background-position: 100% 0%
}
}
Answer the question
In order to leave comments, you need to log in
Alternatively, try nesting your .mountains in a .wrapper and animating it with transform: translateX
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question