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
clevermissfox
clevermissfox11mo ago
Like min-width /max-width? Or clamp? Or with grid, minmax()?
Tok124 (CSS Nerd)
Just do this.
No description
Tok124 (CSS Nerd)
this will be responsive and you dont even need the divs, so that could be removed
Want results from more Discord servers?
Add your server