Bootstrap 3 modal overlay background color and animation -
I have some problems changing the background color when the modal window is displayed using Bootstrap 3.
Ideally, I want to be more than a black and tone under a little ambiguity, but when you click on the box located here;
In addition - how do I stop model sliding down? I just want to fade it out? I have seen some things here, but none of them really answers it ...
thanks
Rob
< Div class = "post-text" itemprop = "text">
You can use it to change backdrop colors:
.modal-backdrop {background-color: # 0000ff ; } or separate in clauses:
.modal-blue .modal-backdrop {background-color: # 0000ff; } .modal-white .modal-backdrop {background-color: #ffffff; } and then add a class to your div:
& lt; div class = "modal fade modal-white" ... & gt; & Lt; Div class = "modal-dialog" & gt; ... & lt; / Div & gt; & Lt; / Div & gt; Hope for this help,
is concerned.
Comments
Post a Comment