不需兼容低版本浏览器
.box{
display: flex;
justify-content: center;
align-items: center;
}
兼容低版本浏览器
margin: auto;position:absolute;left:0;top:0;right:0;bottom:0;
不需兼容低版本浏览器
.box{
display: flex;
justify-content: center;
align-items: center;
}
兼容低版本浏览器
margin: auto;position:absolute;left:0;top:0;right:0;bottom:0;