1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Add input group example with btns on both sides for completeness+testing

[skip sauce]
This commit is contained in:
Chris Rebert 2015-11-15 14:15:34 -08:00
parent 01a44bfa93
commit eaf3f16fc6

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