首页 > 建站‧营销

通过遮罩层代码简单做一个"域名已到期"提示


<style>
#browser-tip { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #fff; z-index: 9999; display: none; display: flex; justify-content: center; align-items: center; flex-direction: column; } 
#browser-tip p { font-size: 3vw; text-align: center; margin-top: 20px; } 
@media screen and (max-width: 1000px){
#browser-tip p { font-size: 5vw; text-align: center; margin-top: 20px; } 
}
</style>
<div id="browser-tip"> <p>域名已到期,请及时联系域名管理员续费</p> </div>

实现效果:

本文链接:https://www.zhanque.net/cms/3722.html