百度未收录

一款简洁好看的弹窗公告

效果演示

一款简洁好看的弹窗公告-狐狸库

代码

<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;
color: #999;
">欢迎进入,地址:www.huliku.com。也请各位广大网友互相转告,联系客服QQ:123456</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>
温馨提示: 本文最后更新于2022/10/20 19:50:57。若文章内容或图片失效,请 留言联系站长反馈!
!
也想出现在这里? 联系我们
创意广告
© 版权声明
THE END
点赞0赞赏 分享
评论 抢沙发

请登录后发表评论

    请登录后查看评论内容