【问题标题】:Bootbox - Center Text on AlertBootbox - 警报中心文本
【发布时间】:2013-05-05 09:38:56
【问题描述】:

我正在使用 Bootbox 为我的 Web 应用程序创建一个看起来更漂亮的警报对话框。是否可以将警报对话框中的文本居中对齐?

【问题讨论】:

    标签: javascript jquery twitter-bootstrap bootbox


    【解决方案1】:

    您可以将此样式添加到您的 css 中:

    .modal-body {
        text-align: center;
    }
    

    Fiddle

    【讨论】:

      猜你喜欢
      • 2015-07-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-11-22
      • 2023-04-01
      • 2022-09-29
      相关资源
      最近更新 更多