animation: name duration timing-function delay iteration-count direction fill-mode;
@keyframes name {
0% {
background-size: 100%;
}
50% {
background-size: 120%;
}
100% {
background-size: 100%;
}
}
For iteration count, you can use “infinite” to make the animation loop.
Have any questions or comments? Write them below!