The steps are each shown as a card and stacked on top of each other and when you move from one step to the other, the card on top is discarded and the next moves move to the top.
If you are having trouble with the pen, try the archived copy on GitHub
Stacked Card Snippet
See the Pen Card stack tutorial animation by Brandon Ward (@brandondward) on CodePen.0