Image Gallery Stacked As Narrow Slits And Expands To Show The Full Image On Click

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.

Praveen Kumar

I am a fullstack web developer with a passion for SEO, creating stunning websites, and organic marketing. I am a perfectionist.

Post navigation