L
L
Lord_Dantes2018-09-25 17:03:17
css
Lord_Dantes, 2018-09-25 17:03:17

Bootstrap columns consistent auto-height alignment?

Good day,
I am asking you to help with this incident ..
5baa3d784cd57147225982.png
We have, for example, a bunch of blocks according to such a scheme col-md-7 and col-md-5, and it happens that one block has less content than the second, and the second block sets the height, so to speak, for the first row, and then the third block is repelled from the height of the second ...
How can I make the third block repel from the height of the first, I tried to clean the stream through clearfix but this is not what I need, I'm a little confused, like I did, but how to apply ...
Thanks for any advice.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
profesor08, 2018-09-25
@profesor08

In Bootstrap 4, the grid is set to flex, which means that .rowyou can set it to align-items: stretch;, which will make all elements in the row the same height. You will have to set the height of the cell content height: 100%, you may have to set the height for the cells display: flex;. The contents of the cell must be framed in a container.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question