我已经使用Bootstrap创建了一个图块。在瓷砖内部,靠近底部,我想要瓷砖的三个按钮(开始,中间和结束)。如何使用引导将按钮对齐到中心
我做了开始和结束按钮,但使用两个div
标签与pull-left
和pull-right
类。现在我想要的是放置中间的按钮。
这里是我的代码的一部分,并且截图:
<div class="col-lg-12">
<div class="pull-left">
<button class="btn btn-primary btn-sx" type="button">Confirm</button>
</div>
<!-- I want another button here, center to the tile-->
<div class="pull-right">
<button class="btn btn-primary btn-xs pull-right" type="button">Decline</button>
</div>
</div>
这个效果很好@Hexaholic –