Answer the question
In order to leave comments, you need to log in
How to set the height of child elements to 50%?
Good afternoon!
How to do this with flexbox?
<div class="wrapper"><!-- Высота этого контейнера неизвестна -->
<div class="column"><!-- Этот, должен быть 100% высоты своего ↑ родителя -->
<div class="cell"></div><!-- 50% высоты -->
<div class="cell"></div><!-- 50% высоты -->
</div>
</div>
Answer the question
In order to leave comments, you need to log in
How is that done?
And if initially wrapper is empty?
codepen.io/Geyan/pen/PbwBOZ?editors=0100 - right?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question