bootstrap i' m尝试与bootstrap对齐,但没有工作
我正在尝试与Bootstrap保持一致,但它不起作用。
我不想逐桌做我尝试使用表标签的表,但是我想通过使用Divs和Bootstrap来做到这一点。
如您所见,我不是Bootstrap的专家,但我正在尝试。
谁能帮我吗?
我的屏幕:
这是我的代码:
<div class="d-flex flex-column">
<div class="d-flex flex-row justify-content-around">
<div class="d-flex flex-row">
Código da filial:
<input type="text" class="form-control" name="CTD_ITEM">
</div>
<div class="d-flex flex-row">
Nome:
<input type="text" class="form-control" name="CTD_DESC01">
</div>
</div>
<div class="d-flex flex-row justify-content-around">
<div class="d-flex flex-row">
Estado:
<input type="text" class="form-control" name="CTD_DESC04">
</div>
<div class="d-flex flex-row">
Sigla:
<input type="text" class="form-control" name="CTD_DESC02">
</div>
</div>
</div>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该使用Bootstrap的网格系统这是Bootstrap的重要功能
这是您的divs的示例:
您可以在集装箱div下重复大div以添加更多字段
网格系统的参考:
You should use Grid System of Bootstrap this is a great feature of Bootstrap
and Here is example of your divs:
You can duplication big div under container div to add more fields
Refernce of Grid System: https://getbootstrap.com/docs/5.0/layout/grid/