添加一个 Bootstrap 类来垂直分组按钮。
<div class="@(18)"> <button class="btn btn-primary">Apple</button> <button class="btn btn-primary">Samsung</button> <button class="btn btn-primary">Sony</button> </div>
<div class="btn-group-vertical"> <button class="btn btn-primary">Apple</button> <button class="btn btn-primary">Samsung</button> <button class="btn btn-primary">Sony</button> </div>