bootstrap: change modal backdrop opacity only for specific modals

后端 未结 6 1895
暗喜
暗喜 2021-02-05 06:28

I have a menu with multiple modals. When I open one over another it turns backgrount into black, which is ugly. I understand that I need change filter: alpha(opacity=80);<

6条回答
  •  遥遥无期
    2021-02-05 06:55

    Give your modals a separate classes

    And all you need is:

    .yourclass { background: rgba(0, 0, 0, 0.8); }

提交回复
热议问题