實現彈框的樣式

growing up…發表於2020-10-28

實現彈框的樣式

<el-row class="Popup" >彈框</el-row>
.Popup{
    position: fixed;
    top:0;
    bottom:0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content:center;
    align-items: center;
    z-index: 520;//用來隱藏彈框下的內容
}

 

相關文章