I want to know how to calculate the value for vh
and vw
. I am designing a website that uses 2vw
and its working perfectly for my text. However, I just guessed. Please tell me how these units work so I can use them in the future. I'd also like to know if they have cross browser support.