In this text animation designed by Nathan Taylor you have a block of text and then you will see a solid swoop of colour moving in from left to right over the text to reveal new text.
If you are having trouble with the pen, try the archived copy on GitHub
Slide Animation Text Reveal Snippet
See the Pen Sliding text by Nathan Taylor (@nathantaylor) on CodePen.0