-3

anyone, please describe me about vw, vh, vmin, vmax. I found a tutorial for making a 100% height hero area. I found a CSS code, here i see they use height: 100vh;

What is it ? & what does it mean ?

batman
  • 5
  • 1
  • 6

1 Answers1

0

vw = viewport width = the width of the browser

vh = viewport height

if you set the height of a div to 100vh it will be the height of the browser window.

1.21 gigawatts
  • 12,773
  • 23
  • 85
  • 187
danday74
  • 38,089
  • 29
  • 169
  • 214