.center {
justify-content: center;
align-items: center;
flex-direction: column;
}
.flex {
display: flex;
}
flex布局让div内容水平垂直居中
最新推荐文章于 2024-07-19 22:09:45 发布
.center {
justify-content: center;
align-items: center;
flex-direction: column;
}
.flex {
display: flex;
}