我想在 Bootstrap 3 中的一行中有 3 个按钮,但是当它更改为 xs 网格时,将它们垂直堆叠。我想在按钮之间引入一些间距(边距) - 但仅当按钮垂直堆叠时。我可以在 LESS 中做到这一点吗?
<div class="row">
<div class="col-sm-4 btn-vert-block">
<span>
<button type="button" class="btn btn-primary btn-block">Go Back</button>
</span>
</div>
<div class="col-sm-4 btn-vert-block">
<span>
<button type="button" class="btn btn-primary btn-block center-block">Preview</button>
</span>
</div>
<div class="col-sm-4 btn-vert-block">
<span class="">
<button type="button" class="btn btn-success pull-right btn-block">Go Next</button>
</span>
</div>
</div>