+ 8
What is vh?
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
+ 4
Thanks!