.title{
/*flex 布局*/
display: flex;
/*实现垂直居中*/
align-items: center;
/*实现水平居中*/
justify-content: center;
text-align: justify;
}
CSS水平垂直居中: flex方式
猜你喜欢
转载自blog.csdn.net/qq_33189961/article/details/122419986
今日推荐
周排行