Make the fill-height
div use all the available space min-height: 100%;
, but hey, there is no space to fill, well, height: 100vh;
takes care of that.
body {
height: 100vh;
}
.fill-height {
display: flex;
flex-direction: column;
min-height: 100%;
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…