I have a fluid width container DIV.
Within this I have 4 DIVs all 300px x 250px...
-
This worked for me with 5 images in diferent sizes.
- Create a container div
- An Unordered list for the images
- On css the unordened must be displayed vertically and without bullets
- Justify content of container div
This works because of justify-content:space-between, and it's on a list, displayed horizontally.
On CSS
#container {
display: flex;
justify-content: space-between;
}
#container ul li{ display:inline; list-style-type:none;
}
On html
-
-
-
-
-