K
K
keche2018-02-16 13:38:30
css
keche, 2018-02-16 13:38:30

How to extend the height of the second block?

How to extend the height of the second block (with the menu) so that it takes up the entire height of the second block with content?
5a86b4d4a5337648924511.png

Answer the question

In order to leave comments, you need to log in

5 answer(s)
M
mr_dev1l, 2018-02-16
@keche

via flex

A
aloky, 2018-02-16
@aloky

.menu { height: 100vh; }
And it would be easier to help you if you provided the code.
And an example here before your eyes even dl4.joxi.net/drive/2018/02/16/0022/1330/1500466/66...

M
maxsnw, 2018-02-16
@maxsnw

give it a height via jquery
$(document).ready(function () {
var content_height = $('.content).outerWidth();
$('.menu').css('height', content_height);
});

S
Sergey delphinpro, 2018-02-16
@delphinpro

Due to the fact that detailed conditions have not been announced, I dare to assume that the good old imitation https://jsfiddle.net/f5yxror3/

T
tyzberd, 2018-02-16
@tyzberd

if there is another option https://jsfiddle.net/sdtL5sex/14/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question