【发布时间】:2016-05-27 12:45:48
【问题描述】:
我想创建一个垂直按钮组,其中包含一个水平按钮组和几个按钮。我的尝试如下所示:
<div class="btn-group-vertical">
<div class="btn-group">
<button type="button" class="btn btn-primary" style="width : 60%">Row 1.1</button>
<button type="button" class="btn btn-primary" style="width : 40%">Row 1.2</button>
</div>
<button type="button" class="btn btn-primary">Row 2</button>
<button type="button" class="btn btn-primary">Row 3</button>
</div>
我希望按钮 Row 1.1 和 Row 1.2 在一行中。
【问题讨论】:
标签: css twitter-bootstrap buttongroup