Text-Shift-Animation The text animation is done using CSS.During animation the text is being swapped using a smooth vertical movement. At 0th sec(when animation is started): At nth sec(when animation is ended): Note: The value of "n" can be changed in the style.css file on the 48th line.