1<style>
2 .el-parent {
3 display: flex;
4 align-items: center; /* vertical align */
5 justify-content: center; /* horizontal align */
6 text-align: center; /* center align text */
7 }
8</style>
9
1body {
2 display:flex; flex-direction:column; justify-content:center;
3 min-height:100vh;
4}