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