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:
parent
01a44bfa93
commit
eaf3f16fc6
1 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue