bootstrap: change modal backdrop opacity only for specific modals

后端 未结 6 1995
暗喜
暗喜 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条回答
  •  Happy的楠姐
    2021-02-05 07:02

    For angular ui bootstrap:

    Use backdropClass when initialize:

    $modal.open({templateUrl:'',
    controller:'',
    backdropClass:''
    });
    

    http://angular-ui.github.io/bootstrap/versioned-docs/0.12.0/

提交回复
热议问题