I want to stop the paragraph at the place where the animation stops. Is there any way to do that?
.area {
display: flex;
position: relative;
animation: move 5s linear;
}
@keyframes move {
0% {
left: -20%;
}
100% {
left: 20%;
}
}
I want to stop the paragraph at left: 20%;
position. Not to go to the starting position after the cycle. Can I do that?