Viewport Height and Width


Web Development

Updated Feb 26th, 2021

Not sure why this never works for me. 1vh is 1% of the viewport.

Often used with bg images. Use width 100% and height: 100vh.