div as the same height as the windows html page code example
Example 1: css window height
div {
height: 100vh;
}
Example 2: css window height
body, html {
height: 100%;
}
#right {
height: 100%;
}
div {
height: 100vh;
}
body, html {
height: 100%;
}
#right {
height: 100%;
}