Answers for "how to make div take full height of screen"

4

css window height

div {
    height: 100vh;
}
Posted by: Guest on April-18-2020
3

how to set a div size to full screen

height: 100vh
Posted by: Guest on July-27-2020
2

css div take remaining screen height

height:100vh;
/* 1vh is 1% of the browser size. With 100vh you can fill the complete height */
/* if you want the div to fill not only the size of the browser, but */
/* the complete website then use this: */
position: absolute;
height: 100%;
width: 100%;
Posted by: Guest on January-07-2021
0

css window height

.left {
  height: 100vh;
  width: 50%;
  background-color: grey;
  float: left;
}

.right {
  height: 100vh;
  width: 50%;
  background-color: red;
  float: right;
}
Posted by: Guest on April-18-2020

Code answers related to "how to make div take full height of screen"

Browse Popular Code Answers by Language