Using @keyframes we can animate elements.
Once it is finished, clicking the section will restart the animation.
This is because we animate based on a class which we add on the click event and remove on the animationend event.
Using @keyframes we can animate elements.
Once it is finished, clicking the section will restart the animation.
This is because we animate based on a class which we add on the click event and remove on the animationend event.