Animate on toggle

Using @keyframes we can animate elements.

A random collection of moves
kitten1
Stretchy
kitten1

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.