我正在使用 Twitter Bootstrap 3。我想要的是两个 div 元素之间的边距小于网格大小(因此 col-md-offset-* 对此无效)。
<div id="content-row" class="row">
<div class="col-md-offset-2 col-md-2 content">
some content
</div>
<div id="content" class="col-md-offset-1 col-md-5 content">
some other content
</div>
</div>
我在想,如何以twitter-bootstrap的方式实现这一点?当然,可以定义边距,但那会破坏twitter bootstrap的行/列布局,所以我感觉肯定有更好的解决方案。