make a div the size of the screen code example Example 1: how to set a div size to full screen height: 100vh Example 2: css set div width to screen .container{ width:100%; }