flex水平垂直居中 front-end 2018-04-11 12345.box { display: flex; align-items: center;/*垂直居中*/ justify-content: center;/*水平居中*/} 转载请保持原始链接 原始链接: https://blog.v5pc.com/note/7db1780c.html