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