html div height full page code example
Example 1: css window height
div {
height: 100vh;
}
Example 2: css window height
body, html {
height: 100%;
}
#right {
height: 100%;
}
Example 3: full page height css
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
<style>
body {
height: 100%;
margin: 0;
}
.full-height {
height: 100%;
background: green;
}
</style>
</head>
<body>
<div class="full-height">full page height css</div>
</body>
</html>