一款简单黑蓝样式html网站弹窗公告代码
复制到您的网站公告栏里面,前提是您的网站公告栏支持HTML代码,内容保存下来用笔记本自行修改
演示效果图:
<!-- 弹窗开始 www.xiaoguiwang.net --> <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; ">网站公告代码测试1</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> <!-- 代码完毕 www.xiaoguiwang.net -->
💯扫描二维码推送至手机访问。
💢版权声明:本文由小龟网发布,如需转载请注明出处。
🤗作品 采用知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议 进行许可