I have a div, which is animated, and I would not like that at the end of the animation it turns to the state of when it started, because it ends up returning to the original state at the end of the animation.
#div1 {
height:100px;
width:100px;
background-color:silver;
position:relative;
animation-name:animacao;
animation-duration:3s;
animation-iteration-count:1;
animation-delay:0.5s;
}
@keyframes animacao {
from {
left:0px
}
to {
left:100px
}
}
<div id="div1"></div>
jsfiddle: link