Image Gallery Stacked as Narrow Slits and Expands to Show The Full Image on Click

Image: Image Gallery Stacked as Narrow Slits and Expands to Show The Full Image on Click GIF

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 GitHub

Image Gallery Expand Snippet

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

Posted by:Saijo George

Digital Marketer with a strong focus on technical SEO and design. One of the top 100 makers on Producthunt, co-organizer of the SEO Meetup in Melbourne, an instructor at General Assembly. Worked with brands like Envato, AEON. Currently the SEO Strategy Director at Supple.