【问题标题】:Bootstrap - Add a widget to side of the pageBootstrap - 将小部件添加到页面的一侧
【发布时间】:2023-02-04 18:45:09
【问题描述】:

我想在页面的一侧添加一个简单的文本框。

我有一张桌子。因此,当添加了小部件时,必须减小表格的宽度。 提前致谢!

                                                                                                   .                                                                                                                                                                                                                                                                                  

【问题讨论】:

    标签: html css bootstrap-5


    【解决方案1】:
    <div class="row">
    
      <div class="col">
        Your table
      </div>
    
      <div class="col">
        Widget here
      </div>
    
    </div>
    

    【讨论】:

    • 工作兄弟泰..
    【解决方案2】:

    可能您需要使用正确设置的网格系统创建布局 (https://getbootstrap.com/docs/5.2/forms/layout/),并为您的小部件留出位置。因此,首先要了解 bootsrap 中的布局和网格系统。

    【讨论】:

    • 我会尝试。感谢你
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-04-14
    • 2021-11-16
    • 1970-01-01
    • 1970-01-01
    • 2021-11-05
    • 2020-06-17
    • 2017-07-09
    相关资源
    最近更新 更多