📅  最后修改于: 2022-03-11 14:47:53.495000             🧑  作者: Mango
/* 100vh = 100% Viewport Height */
body {
display: flex;
height: 100vh;
flex-direction: column;
justify-content: center;
}
/* add */ align-items: center; /*to also center horizontally.*/