html
<!--阴影层-->
<div v-if="finaltips==true" class="shadow"></div>
css
.shadow{
background-color:rgba(199, 199, 207, 0.5);
width: 100%;
height: 100%;
z-index: 99;
position: fixed;
top: 0px;
left: 0px;
}
html
<!--阴影层-->
<div v-if="finaltips==true" class="shadow"></div>
css
.shadow{
background-color:rgba(199, 199, 207, 0.5);
width: 100%;
height: 100%;
z-index: 99;
position: fixed;
top: 0px;
left: 0px;
}
本文标题:HTML 中建立阴影,在弹框时不允许操作按钮
本文链接:https://www.haomeiwen.com/subject/hfgpeqtx.html
网友评论