This set of card stack comes with various reveal animation like slide to right, expand to grid, split from middle and more. It can work well with image galleries. Designed by Chris Hutchinson.
If you are having trouble with the pen, try the archived copy on GitHub
See the Pen Animated Card Stacks by Chris Hutchinson (@chrishutchinson) on CodePen.0