垂直水平居中:flex 轻松搞定水平垂直居中(未知宽高)

5年以前  |  阅读数:464 次  |  编程语言:HTML/CSS 
display: flex;
align-items: center;
justify-content: center;

Copyright© 2013-2020

All Rights Reserved 京ICP备2023019179号-8