如何删除引导程序模式叠加? [英] How to remove bootstrap modal overlay?

查看:50
本文介绍了如何删除引导程序模式叠加?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何删除特定模态的引导程序模态覆盖. 当模态出现时,背景为黑色且有些不透明 有没有删除这些元素的选项...

How to remove bootstrap modal overlay for particular modal. when modal appears background has black color with some opacity is there any option for removing that elements...

推荐答案

data-backdrop="false"选项作为属性添加到打开模式的按钮.

Add data-backdrop="false" option as attribute to the button which opens the modal.

<!-- Button trigger modal -->
<button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal" data-backdrop="false">
  Launch demo modal
</button>

请参见模式选项

这篇关于如何删除引导程序模式叠加?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆