P
P
Polina Emelyanova2018-04-02 13:38:40
css
Polina Emelyanova, 2018-04-02 13:38:40

How to make stretching columns of the same height like live broadcasts?

Hello colleagues.
Please, help me solve the problem:
SUBJECT
There is a module where there is a video and there is a chat module.
PROBLEM:
How to make sure that in any case the HEIGHT of the chat does not exceed the height of the video: it stretches and shrinks after it?
https://screenshots.firefox.com/BrwWZt70duk0UrbF/l... - now it's like this.
Need to - 5ac20650cb9ac513331052.jpeg
Tweak the codepen
In general, like on live YouTube broadcasts. (I inspected the code. Too many wrappers... I'm lost in logic...
CONDITION:
Without scripts if possible . THANK YOU in
advance for any advice.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton fon Faust, 2018-04-02
@bubandos

https://jsfiddle.net/anton4ept/3fndu12d/ например так.

Полина Емельянова, 2018-04-02
@bugo_aneo Автор вопроса

Пока Viewport-единицы рулят миром.
https://s.codepen.io/emelyanova/debug/zWaxLM/VJrxx...
Завтра отдебажу и дам ответ.)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question