Is it possible to do the same, but without specifying an explicit height to the nav and info blocks?

Link to code (not advertising)
Thanks for the answer!)
June 10th 19 at 17:06
2 answers
June 10th 19 at 17:08
no, height can be any - August commented on June 10th 19 at 17:11
unclear what you mean by "the same" - jaylon_Hahn74 commented on June 10th 19 at 17:14
, the height of which can be any? - leonor36 commented on June 10th 19 at 17:17
the blocks were placed as

just layout the same rubber... which is why using margin will not go.. - August commented on June 10th 19 at 17:20
why? Set it to vw , for example, and you will be rubber

So in the example it is also not particularly rubber, fixed height + calculation from it. Better margin - leonor36 commented on June 10th 19 at 17:23
June 10th 19 at 17:10
You may need the value of min-height.
The minimum will be a predetermined size, and if the item does not fit the content it will increase.
If Yes, then you will need further more max-height, min-width, max-width.

Find more questions by tags FlexboxHTMLCSSLayoutSass