+ 8

What is vh?

15th Jan 2017, 7:46 AM
Andrei Iliescu
Andrei Iliescu - avatar
2 Respostas
+ 18
CSS has a lot of length units VH - stands for viewport height. It is 1% size of your browser's height 50vh - is 50% of browser's height Also there is VW - it is almost the same, but uses width instead of height If you want to use minimum of them, try using VMIN, for maximum - VMAX It acts the same, but uses minimum/maximum value
15th Jan 2017, 7:54 AM
WittyBit
WittyBit - avatar
+ 4
Thanks!
15th Jan 2017, 8:13 AM
Andrei Iliescu
Andrei Iliescu - avatar