如何更改关键字xs sm md lg的引导程序的默认大小? [英] How to change bootstrap's default sizes for the keywords xs sm md lg?

查看:41
本文介绍了如何更改关键字xs sm md lg的引导程序的默认大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

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

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

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

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)

推荐答案

自定义页面上查看引导程序文档.您可以更改Media Query断点并生成Bootstrap的自定义版本.

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

这篇关于如何更改关键字xs sm md lg的引导程序的默认大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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