0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Merge pull request #18264 from twbs/input-group-btns-both-sides

Add input group example with btns on both sides for completeness+testing
This commit is contained in:
Mark Otto 2015-11-29 20:02:47 -08:00
commit c1b79347b4

View File

@ -108,6 +108,20 @@ Buttons in input groups are a bit different and require one extra level of nesti
</div>
</div>
</div>
<br>
<div class="row">
<div class="col-lg-offset-3 col-lg-6">
<div class="input-group">
<span class="input-group-btn">
<button class="btn btn-secondary" type="button">Hate it</button>
</span>
<input type="text" class="form-control" placeholder="Product name">
<span class="input-group-btn">
<button class="btn btn-secondary" type="button">Love it</button>
</span>
</div>
</div>
</div>
{% endexample %}
## Buttons with dropdowns