The same basic idea as the cards on the homepage of v17 of this site.
See the Pen Moving Cards by Chris Coyier (@chriscoyier) on CodePen.