W
W
WebforSelf2019-08-07 23:36:17
css
WebforSelf, 2019-08-07 23:36:17

How to properly lay out flex blocks on bootstrap 4?

Friends, there are 6 blocks in a row
https://jsfiddle.net/4vb7fecp/
Images are different in height. How to make a block with an image the same, and the image to be centered vertically. well, and accordingly the text under the image, too, to be at the same height. How to implement this correctly using bootstrap 4 (flex ) classes.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2019-08-08
@Eridani

.uslugi_img { height:100px; object-fit: cover; }
vertically what?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question