Using CSS animations
CSS animations animate transitions from one CSS style to another. Animations have two components, a style CSS animation and a set of keyframes that show the start and end states of the animations, as well as possible situated between waypoints.
Read More...