How to create a gallery with flex for images
Probably a beginner question. Let's say you have something like this: https://codepen.io/Bard-the-scripter/pen/yLZmBEw. So, just some very big images. Can I have the image to be at least X pixels wide and at most Y pixels wide, but always fill the screen width?
3 Replies
Like min-width /max-width? Or clamp? Or with grid, minmax()?
Just do this.
this will be responsive
and you dont even need the divs, so that could be removed