小编Lir*_*rel的帖子

将 Bootstrap 的 Modal 上的 X 按钮更改为左侧

我正在尝试建立一个新网站,我对 HTML CSS 等还很陌生。所以我从 Bootstrap 得到了一些帮助,但现在我遇到了一些问题。我现在正在制作的网站的语言是 Hebrew ,当我在 Bootstrap 中打开一个模态时,我似乎无法将 X 的位置更改为左侧。

我已经尝试给它一个浮动的 left ,并尝试对其进行内联样式,但它似乎不起作用。

<!-- Sign In Button -->
      <div class="container buttons">
        <a class="btn btn-light download " data-toggle="modal" data-target="#Sign-In-Modal">??????</a>
        <!-- Sign In Button Modal -->
        <div class="modal fade" id="Sign-In-Modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
      <div class="modal-dialog" role="document">
        <div class="modal-content">
          <div class="modal-header">
            <h5 class="modal-title" id="exampleModalLabel">???????</h5>
            <button type="button" class="close pull-left" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;</span>
            </button>
          </div>
          <div class="modal-body" style="text-align: right;">
            .???? ?? ????? ?????? ???? ??????
          </div>
          <div class="modal-footer">
            <button type="button" class="btn …
Run Code Online (Sandbox Code Playgroud)

html css bootstrap-4

3
推荐指数
1
解决办法
2133
查看次数

标签 统计

bootstrap-4 ×1

css ×1

html ×1