How can I change the way I see the page behind when I open a Twitter Bootstrap modal?

后端 未结 3 1120
逝去的感伤
逝去的感伤 2021-01-25 05:34

I am opening a modal but when I do this the page behind the modal goes very dark. Can someone explain how I can change this. For example how could I make it so there\'s just a v

3条回答
  •  死守一世寂寞
    2021-01-25 06:09

    What your looking for is http://twitter.github.com/bootstrap/javascript.html#modals modal backdrop static to disable closing on background click.

    Also for the backdrop darkness adjust the

    .modal-backdrop, .modal-backdrop.fade.in {
        opacity: 0;
    }
    

提交回复
热议问题