This is all coded in HTML and CSS3.

It uses the animation-timing-function property.