take height as height of display 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%;
}