Hello everybody! There is the following CSS code:
.scontainer { position: relative; width: 500%; animation-name: slideranim; animation-duration: 30s; animation-delay: initial; animation-iteration-count: infinite; padding: 0; margin: 0; left: 0; } @keyframes slideranim { 10% { left: 0%; } 20% { left: -100%; } 30% { left: -100%; } 40% { left: -200%; } 50% { left: -200%; } 60% { left: -300%; } 70% { left: -300%; } 80% { left: -400%; } 90% { left: -400%; } 100% { left: 0%; } } And this slows down the animation, but the trouble is that the animation immediately stops:
.scontainer:hover { animation-play-state: paused; } Not finished intermediate animation.
Now the actual question is how to implement, so that the slider scrolls through the slides, say, the second slide, scrolls to the end, and does not freeze, say, to:
left: 145%; And scrolled to the end and froze, that is, it would be:
left: 200%;