A CodePen by Matt MacLaurin. Wingbox Photo Popup - Uses positional CSS (nth-child) and transitions to create an interesting animation with very little code.

All the JS does is take the image from the front of the list and move it to the back. All the motion is from CSS