如何在Bootstrap中选择960px宽而不是1200px的容器 [英] How to choose the container 960px wide and not to 1200px in Bootstrap

查看:163
本文介绍了如何在Bootstrap中选择960px宽而不是1200px的容器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Bootstrap中选择宽度 960px 而不是1200px的容器?

How to choose the container 960px wide and not to 1200px in Bootstrap?

推荐答案

您只想要一个固定宽度的网站?如果是这样,那就不要包含 bootstrap-sensitive.css 。固定宽度容器的默认宽度为960px。

Do you just want a fixed width website? If so then then just don't include bootstrap-responsive.css. The default width for a fixed width container will be 960px.

否则,如果您仍然需要响应功能,但没有1200px容器,则需要自定义引导安装。为此:

Otherwise if you still want the responsive features but no 1200px container you will need to customize your bootstrap install. To do that:

这篇关于如何在Bootstrap中选择960px宽而不是1200px的容器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆