Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="container">
- <img src="[url]">
- <img src="[url]">
- <img src="[url]">
- </div>
- .container {
- display: flex;
- flex-direction: row;
- height: 300px;
- margin-bottom: 20px;
- }
- .container img {
- flex: 1;
- object-fit: cover;
- }
- .container img {
- flex: 1;
- min-width: 1%; /* width of images adjust to the parent container */
- object-fit: cover;
- }
Add Comment
Please, Sign In to add comment