twitter-bootstrap 如何更改关键字 xs sm md lg 的引导程序默认大小?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/23189376/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-21 20:32:39  来源:igfitidea点击:

How to change bootstrap's default sizes for the keywords xs sm md lg?

csstwitter-bootstraptwitter-bootstrap-3

提问by ahnbizcad

According to http://getbootstrap.com/css/#grid-options, the default cutoffs for xs, sm, md, lg are cut off at 768px, 992px, and 1200px.

根据http://getbootstrap.com/css/#grid-options,xs、sm、md、lg 的默认截止值为 768px、992px 和 1200px。

Can I still use those columns keyword classes like .col-xs-3without having the widths at which different sizes (e.g. xs sm md lg) are triggered at?

我是否仍然可以使用那些列关键字类,例如.col-xs-3没有触发不同大小(例如 xs sm md lg)的宽度?

For example, I want xs cutoff point to be 420px instead of 768px, while still being able to use .col-xs-3(instead of having to define custom column widths)

例如,我希望 xs 截止点为 420px 而不是 768px,同时仍然可以使用.col-xs-3(而不是必须定义自定义列宽)

采纳答案by Schmalzy

Check out the Customizepage on the Bootstrap Documentation. You can change the Media Query breakpoints and generate a custom version of Bootstrap.

查看Bootstrap 文档中的自定义页面。您可以更改媒体查询断点并生成自定义版本的 Bootstrap。