how to set div height to full screen code example Example 1: how to set a div size to full screen height: 100vh Example 2: css window height div { height: 100vh; }