Twitter Bootstrap不支持在其网格中反转列吗?类似于960.gs中的.pull_4和.push_4?我看到他们有offset4,就像push_4一样,但没有办法拉下列?
<div class="row">
<div class="span8 offset4">Content in Column 2</div>
<div class="span4">Sidebar in Column 1</div>
</div>
更新
我仍然无法弄清楚如何做到这一点。我尝试了下面的内容,但是边距搞得一团糟......
<div class="row-fluid">
<div class="span8 pull-right" style="background:red">
Right column, First in HTML
</div>
<div class="span4" style="background:green">
Lef column, Second in HTML
</div>
</div>
答案 0 :(得分:0)
您可以使用pull-right
或pull-left
;见下文:
<div class="row">
<div class="span8">Content in Column 2</div>
<div class="span4 pull-right">Sidebar in Column 1</div>
</div>