相关内容
-
css遮罩层
<style>.add-1{width:100%;height:100%;background-color:rgb(000/21%);position:fixed;top:0;bottom:0;left:0;right:0;}</style><script>functionade(){document.get
-
css遮罩层代码样式
<divclass="add-tanchuang">123</div><style>.add-tanchuang::before{content:"";/*插入内容*/cursor:default;background-color:rgba(173,173,173,0.66);position:fix
-
css实现弹窗遮罩层
主要使用到::target伪类,::before、::after伪元素以及display:flex;盒子用来居中,最后用position:fixed;绝对定位来让弹窗固定<ahref="#example1">立即下载</a><divclass="popBox"id="example1"><div&n