css body 100 height code example
Example 1: setting height and width on body
body {
min-height: 100vh;
width: 100%;
}
Example 2: how to make html body alway 100% height and width
html,
body {
height: 100%;
}
body {
min-height: 100vh;
width: 100%;
}
html,
body {
height: 100%;
}