S
S
SheikhRamil2021-06-28 11:17:17
css
SheikhRamil, 2021-06-28 11:17:17

Why doesn't the div have 100% width and height if I set it?

I wrote that the div was in the center of the site. For the body, I set min high 100 in. and to the div 100% width and height, but anyway the div has a height proportional to its content.
60d98580626c5471458027.png60d985851b936864671850.png60d9858aac096203053831.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2021-06-28
@ramil_bayramov

https://yandex.ru/search/?text=css%20100%25%20height
https://habr.com/ru/post/189252/
38 minutes waiting for an answer here, instead of instantly getting it in a search engine.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question