div with screen height code example Example: css height of screen /* For 100% screen height using viewport-percentage */ height: 100vh;