CSS Transition
CSS transition is used to control the smooth transition between two states of an element.transition property:To add transition using transition property, first specify the CSS property to add effect to and specify duration of the effect.