🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

Experimenting with inline-block elements to display a responsive grid of images. This uses an ugly hack – font-size:0; – to collapse whitespace within the UL. Not a viable solution for more complex layouts, but it seems to work here.

Image Grid

See the Pen by gscottolson (@gscottolson) on CodePen.


This awesome script developed by gscottolson. Visit their official repository for more information and follow for future updates.

You May Also Like