Last Updated: February 25, 2016
·
563
· pixeladed

Stop using JS for 100% height

Just use this:

div { 
    height: 100vh;
}

vh stands for vertical height of the browser. It updates everytime the window is resized.

1vh = 1%

1 Response
Add your response

over 1 year ago ·