M
M
MaximMRX2018-04-04 23:05:40
css
MaximMRX, 2018-04-04 23:05:40

Bootstrap 4 Equal height col how to cancel one of the columns?

Good day! There are two columns, col-6 the second is stretched to the height of the first because it has more content. How can I disable it so that my second column doesn't stretch to the height of the first column?
now implemented through height: fit-content; will there be consequences for adaptation? and is it right to do so?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dima Polos, 2018-04-04
@GM_pAnda

As far as I remember, but 4 is flex, so write the parent of these columns align-items: flex-start;
Or : center, baseline, flex-end to your taste.

V
vitaly_74, 2018-04-05
@vitaly_74

here it is described in great detail about flexbox, write down your class, and already in it rewrite flex html5.by/blog/flexbox

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question