Table of Contents

A very fancy image gallery by Zed Dash, the images are stacked horizontally in very narrow cards and depending on the screen size the number of items will differ. When you click on a narrow image it expands and the existing expanded one collapse in a very smooth animation.

 

If you are having trouble with the pen, try the archived copy on

 

See the Pen
Expanding flex cards
by Zed Dash (@z-)
on CodePen.