0

为什么要在引导程序中偏移列?

<div class="row">
    <div class="span4">...</div>
    <div class="span3 offset2">...</div>
</div>

我知道我们可以移动带有偏移属性的列,但是它有什么用呢?

请问我可以看一些例子吗?例如,在这个例子中

http://twitter.github.io/bootstrap/scaffolding.html#gridSystem

以什么方式排列将帮助我们?

4

1 回答 1

0

ok offset means to move colums right or left, eg: span3 offset2 means the gap between 2 colums is of 2 colums lenght span3 offset1 means the gap between 2 colums is of 1 colums length

in bootstrap there are 12 colums, so minimum is width b/w 2 colums is 1 coumn.

于 2013-07-17T09:52:32.277 回答