I am looking to create an animation that continues infinitely without returning to its original state after completion, similar to a sun moving animation. Below is a sample project:
.animator3{
-webkit-animation-name:j3;
-webkit-animation-delay:0s;
-webkit-animation-direction:alternate;
-webkit-animation-duration:10s;
-webkit-animation-iteration-count:infinite;
-webkit-animation-fill-mode: forwards;
transform:translateX();
}
@-webkit-keyframes j3{
0% {transform: rotate(30deg)}
100% {transform: rotate(150deg)}
}
<img src="https://i.hizliresim.com/9m7y5Z.png" style="box-shadow:0 10px 20px rgb(2%,5%,5%); border-radius:50%;" width="255" height="255" id="planet" class="animator3"/>
Currently, the animation reverts to its original state after each run which I do not want. Can someone assist me in resolving this issue?