Why header tag contained max-height with value 100vh, is not height as my screen?? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Why header tag contained max-height with value 100vh, is not height as my screen??

I have problem with sizing my header section... The value of 100vh is equal to 100% height of my screen no? Thanks for any help !!

23rd Jul 2018, 1:48 PM
Daniel Herrman
Daniel Herrman - avatar
3 ответов
+ 6
Due to Code Playground's interface, 100vh may include some frame. I usually go for ≈90vh. 100vh lets me scroll vertically a bit.
23rd Jul 2018, 1:54 PM
Hatsy Rei
Hatsy Rei - avatar
+ 2
Yes it is. It's percent from your viewport.
23rd Jul 2018, 1:50 PM
Toni Isotalo
Toni Isotalo - avatar
0
thank I found a problem, in max-height property (should be "Height" instead) :)
23rd Jul 2018, 1:59 PM
Daniel Herrman
Daniel Herrman - avatar