html代码|网站首页弹窗公告代码(html自动弹窗代码)

时间:2022-10-31 22:13:53   阅读:296
<!doctype html>

<html>
<head>
 <meta charset="UTF-8">
 <title>网站首页弹窗公告代码</title>
</head>
<body>
<div 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;
    color: #999;
">测试中</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>
</div>
</body>
</html>


html代码|网站首页弹窗公告代码(html自动弹窗代码)

上一篇:php代码|获取当前网址,然后跳转/ds(php获取当前页面url)

下一篇:htm代码|网站首页弹窗公告代码(html弹窗公告代码)

网友评论