animation-name: example;
specifies the keyframe animation to apply.
animation-duration: 4s;
sets the animation to run for 4 seconds per cycle.
animation-direction: reverse;
makes the animation play in reverse order, repeating infinitely.
animation-iteration-count: infinite;
makes the animation repeat endlessly without stopping.You can replace the value with a number to control how many times it runs.