【问题标题】:How to enlarge the size of modal in bootstrap如何在引导程序中放大模态的大小
【发布时间】:2018-08-05 12:48:37
【问题描述】:
<div class="modal  fade" id="_saleman">
<div class="modal-dialog " >
    <div class="modal-content" style="background-color:#F5F5F5" >


       </div>
    </div>
</div>

我已经阅读了很多关于此的演讲,但我没有找到任何 良好且易于工作的ans 如果它被调整大小,那么它不会是响应式的 *快速响应*

【问题讨论】:

  • modal-dialog 中使用modal-lg
  • 我不想要那个尺寸。我想在模态中进行完整的注册

标签: css twitter-bootstrap-3


【解决方案1】:

对大型模态使用“modal-lg”类

您可以访问https://getbootstrap.com/docs/4.0/components/modal/ 模态的不同大小和属性(Bootstrap 4)。并参观 https://getbootstrap.com/docs/3.3/javascript/#modals 用于引导程序 3. Bootstrap 模型的所有属性可以参考这篇文档

【讨论】:

    【解决方案2】:
    <div class="modal-dialog " >
     </div>
    

    。使用这些类 modal-lg modal-sm container 容器流体
    喜欢

     <div class="modal fade">
    
     <div class="container">
        </div>
     </div>
    

    *模态框将被放大并响应

    【讨论】:

      猜你喜欢
      • 2013-10-24
      • 1970-01-01
      • 2013-03-25
      • 1970-01-01
      • 1970-01-01
      • 2020-04-21
      • 2020-07-02
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多