引导阴影容器宽度太宽,无法大见

发布于 2025-02-13 08:03:17 字数 260 浏览 0 评论 0原文

我是Bootstrap的新手(少于六个小时的文档/开发时间),我有一个问题,我的影子容器的宽度相对于较小的屏幕尺寸而言太宽了。 991px以上的任何视图都将不理想的空格留在表单的右侧。

我有一个 codeply 用我使用的所有代码来说明这一点。

感谢任何帮助或指导我做错了什么。

I'm new to bootstrap (less than six hours of docs/dev time) and I have an issue where the width for my shadow container extends too wide relative to smaller screen sizes. Any view above 991px leaves unsightly whitespace to the right of the form.

I have a codeply illustrating this with all of the code I'm using.

Any help or guidance to what I'm doing wrong is appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

故笙诉离歌 2025-02-20 08:03:17

在第10行:

'<'div class =“ col-lg-8 order-md-1>

col-lg-8是定义的...

根据网格系统...

对于分辨率≥992px,LG类前缀具有活性

。那就是您开始使用宽度的8/12 ...

则在右侧出现3/12

如果您想在该分辨率下使用完整的宽度,

'<'div class =“ col-lg-12 order-md-1”>

希望这会有所帮助。

On line 10:

'<'div class="col-lg-8 order-md-1>

Col-lg-8 was defined...

According to the grid system...

For resolution ≥992px, the LG class prefix becomes active.

With that, you started using 8/12 of the width...

Appearing 3/12 on the right side in white.

If you want to use full width at that resolution, set col-lg-12.

'<'div class="col-lg-12 order-md-1">

Hope this helps.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文