Bootstrap 3 .col-xs-offset-* 不起作用? [英] Bootstrap 3 .col-xs-offset-* doesn't work?
问题描述
我正在使用 bootstrap 3 网格系统,到目前为止我很喜欢它,一切都运行良好,我正在尝试使用 col-xs-offset-1 并且不起作用,尽管 .col-sm-offset-1 有效.我在这里错过了什么?
I am using bootstrap 3 grid system loved it so far and everything was working well, I am trying to use col-xs-offset-1 and doesn't work although .col-sm-offset-1 works. What am I missing here ?
<div class="col-xs-2 col-xs-offset-1">col</div>
http://jsfiddle.net/petran/zMcs5/2/
推荐答案
自 Bootstrap 3.1 .col-xs-offset-*
确实存在,参见 bootstrap :: 网格选项
as of Bootstrap 3.1 .col-xs-offset-*
does exist, see bootstrap :: grid options
.col-xs-offset-*
不存在.偏移和列排序仅适用于 small 和 more.(仅 .col-sm-offset-*
、.col-md-offset-*
和 .col-lg-offset-*
)
.col-xs-offset-*
doesn't exist.
Offset and column ordering are only for small and more. (ONLY .col-sm-offset-*
, .col-md-offset-*
and .col-lg-offset-*
)
查看官方文档:bootstrap::grid options
See the official documentation : bootstrap :: grid options
这篇关于Bootstrap 3 .col-xs-offset-* 不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!