G
G
graduate students @graduate2021-10-26 15:08:42
css
graduate students @graduate, 2021-10-26 15:08:42

Why is the height not dynamic?

Why doesn't the height change when the window is resized. More precisely, it changes only up to a certain value. min-height: 0Does not help.

I need 100% inside the block, and 45% for individual elements inside this block, but for some reason this only works up to certain minimum sizes. - everything is OK here (it scales perfectly inside the block), but it does not work when the window is resized. When using "vh" it doesn't scale well either. I do not understand why the percentage does not work?

resize: both



Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Thomas Laybe, 2021-10-26
@thomasLaybe

height: 100vh;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question