button taking all height code example
Example 1: stretch div to full height
#root {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
}
Example 2: css window height
div {
height: 100vh;
}
#root {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
}
div {
height: 100vh;
}