设为首页 - 加入收藏 ASP站长网(Aspzz.Cn)- 科技、建站、经验、云计算、5G、大数据,站长网!
热搜: 创业者 数据 手机
当前位置: 首页 > 站长学院 > MsSql教程 > 正文

HTML实现遮罩层的方法 HTML中如何使用遮罩层(10)

发布时间:2020-03-19 03:42 所属栏目:116 来源:站长网
导读:divstyle='width:100%;height:49px;position:relative;left:50%;top:50%;' spanstyle='font-size:36px;width:100%;text-align:center;display:inline-block;position:inherit;left:-50%;top:-50%;'模态窗口1/span /

            <div style='width: 100%;height: 49px;position: relative;left: 50%;top: 50%;'>  

                <span style='font-size: 36px; width: 100%; text-align:center; display: inline-block; position:inherit; left: -50%;top: -50%;'>模态窗口1</span>  

            </div>  

            <button class='btn-close' style='width: 100px; height: 30px; position: absolute; right: 30px; bottom: 20px;'>关闭</button>  

        </div>  

    </div>  

    <script type='text/javascript' src="js/jquery-1.10.2.js"></script>  

</body>  

</html>  

  

运行结果:

初始化

HTML实现遮罩层的方法 HTML中如何使用遮罩层

显示遮罩层和Loading提示

HTML实现遮罩层的方法 HTML中如何使用遮罩层

显示遮罩层和模拟弹出模态窗口

HTML实现遮罩层的方法 HTML中如何使用遮罩层

(编辑:ASP站长网)

网友评论
推荐文章
    热点阅读