我想使用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%宽度/全宽
发布评论