分享一个好看的弹窗
2022-05-26 17:09:12 588阅读 0评论 0点赞
<div class="web_notice" style="
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 99999;
">
<div style="
    position: fixed;
    top: 50%;
    left: 50%;
    width: 550px;
    background: #FFF;
    transform: translate(-50%, -50%);
    border-radius: 40px;
    padding: 50px 40px;
">
<h3 style="
    font-weight: bold;
    text-align: center;
    font-size: 30px;
">弹窗分享</h3>
<div style="
    font-size: 16px;
    margin-top: 26px;
    line-height: 30px;
    text-align: center;
    color: #999;
">这个弹窗好看的话,请记得给文章一个赞哟,最近会努力更新的。</div>
<div style="
font-size: 16px;
margin-top: 26px;
line-height: 30px;
color: #999;
text-align: center;
">
资源站也会更新一些单机游戏</div><a style="
    display: block;
    background: #98a3ff;
    color: #FFF;
    text-align: center;
    font-weight: bold;
    font-size: 19px;
    line-height: 60px;
    margin: 0 auto;
    margin-top: 45px;
    border-radius: 32px;
    width: 80%;
" onclick="javascript:document.querySelector('.web_notice').remove()">我知道了</ a>
</div>
</div>

https://cdn.juyuantop.cn/7NSMv020220526171218.png

评论

取消