I am helping with a website. What the owner want to do is take the CSS animation and change it. Currently it rotates, kind of in a circle. What we have been trying to figure out is how to take what is here and modify it so it just moves on a straight plain and a few pixels (20px) and then move back. We would also like to it to loop this. Here is what we have. Thanks
The animation-name property in the first line is referencing an animation called “rotate”, so you’ll have @keyframe declarations elsewhere in your CSS that define what happens as part of this “rotate” animation. This is what you should edit.