How can I change the default width of a Twitter Bootstrap modal box?

后端 未结 30 2766
醉酒成梦
醉酒成梦 2020-11-27 08:38

I tried the following:

   
30条回答
  •  广开言路
    2020-11-27 09:15

    In Bootstrap 3+ the most appropriate way to change the size of a modal dialog is to use the size property. Below is an example, notice the modal-sm along the modal-dialog class, indicating a small modal. It can contain the values sm for small, md for medium and lg for large.

    
    

提交回复
热议问题