垂直水平居中对齐
Opened this issue · 0 comments
webVueBlog commented
.box {
width: 100%;
height: 300px;
border: 1px solid purple;
display: flex;
justify-content: center;
align-items: center;
}
<div class="box"><p>居中</p></div>