Bootstrap modal appearing under background

前端 未结 30 1252
离开以前
离开以前 2020-11-22 17:09

I have used the code for my modal straight from the Bootstrap example, and have included only the bootstrap.js (and not bootstrap-modal.js). However, my modal is appearing u

30条回答
  •  孤独总比滥情好
    2020-11-22 17:33

    You can also remove the z-index from .modal-backdrop. Resulting css would look like this.

    .modal-backdrop {
    }
      .modal-backdrop.in {
        opacity: .35;
        filter: alpha(opacity=35); }
    

提交回复
热议问题