Bootstrap 100%宽度/全宽

编程入门 行业动态 更新时间:2024-10-11 21:32:24
本文介绍了Bootstrap 100%宽度/全宽的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想使用Bootstrap创建一个新网站,我需要它的宽度为100%,但我不想让它流畅。至少不是现在。

I want to create a new website with Bootstrap and I need it to be 100% in width, but I do not want it to be fluid. At least not for now.

我遇到的问题是:使用bootstrap标准限制你到960px和流体布局它是全宽,但表现得像流体布局应该

The issue I have is: using bootstrap standard limits you to 960px and with a fluid layout it is full width but behaves like a fluid layout should by moving elements to become stacked when the window is shrunk in size.

有一种方法可以使用静态引导布局获得100%的宽度?

Is there a way to have 100% width with a static bootstrap layout?

推荐答案

100%width ... static

100% width ... static

b $ b

这是一个矛盾。 100%宽度的布局不是静态的。

This is a bit of an oxymoron. A 100% width layout isn't static.

Bootstrap使用 .container 类设置预定义的宽度。如果您希望它大于默认值,请将其增加到所需的页面宽度。请注意,Bootstrap的 span * 和 offset * 类的大小将需要相应调整宽度。

Bootstrap uses a .container class to set a predefined width. Increase this to your desired page width if you want it to be greater than it's default. Be careful though that the sizing of Bootstrap's span* and offset* classes will need their widths adjusted accordingly.

更多推荐

Bootstrap 100%宽度/全宽

本文发布于:2023-11-23 04:11:22,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1620040.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:宽度   Bootstrap

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!