【发布时间】:2015-11-07 10:32:10
【问题描述】:
我有 3 列:
我想将 cols 放在页面中间以进行响应式设计。因此,如果我在手机上查看它们,它们应该相互之间。那么如何才能居中呢?
这是我的代码:
<div class="container">
<div class="row text-center">
<div class="col-xs-4 glyphicon glyphicon-flash"><h3>Professional</h3></div>
<div class="col-xs-4 glyphicon glyphicon-picture"><h3>Exactly</h3></div>
<div class="col-xs-4 glyphicon glyphicon-screenshot"><h3>Custom</h3></div>
<div class="col-xs-4"></div>
</div></div>
【问题讨论】:
标签: twitter-bootstrap center col