How to make a responsive image gallery?
I'm trying to create a responsive gallery of fixed-width images. I need
the number of images on a given row to vary based on the width of the
browser window, and the row of images to be centered on the page.
Either of two ways is fine. There can be a constant number of pixels
between each image (10px for instance), and the container div can change
width to match. Or the container div can be fixed-width, and the distance
between the images varies to fit.
Thanks in advance
No comments:
Post a Comment