You can set a min-height. When the content ist larger than the device's height, the .parent-container
goes beyond.
.parent-container{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100vw;
min-height: 100vh;
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…