How to activate the Bootstrap modal-backdrop?

后端 未结 2 756
猫巷女王i
猫巷女王i 2020-12-29 03:03

I want to put up an overlay on my screen while some ajax stuff is running. Building my own overlay div isn\'t a big deal, but, since I\'m already using Bootstrap, I figure

2条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-29 04:01

    Pretty strange, it should work out of the box as the ".modal-backdrop" class is defined top-level in the css.

    
    

    Made a small demo: http://jsfiddle.net/PfBnq/

提交回复
热议问题