I’ve searched 30 minutes for a solution and I cannot crack this simple problem.
I have a fixed-width flexbox, and I need (n) images to fit proportionally inside one row. No matter what I try the images overflow. Is this possible with flexbox?
The images have different sizes. If you want them the same size you gotta crop them if you want to retain the aspect ration. If not, you have to set their width & height:
img{
width: 190px;
height: 100px;
}
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘CSS’ is closed to new topics and replies.