diff options
| author | Mark Otto <[email protected]> | 2015-11-29 20:02:47 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-11-29 20:02:47 -0800 |
| commit | c1b79347b416d6f9d193075b500adba5a424e5bf (patch) | |
| tree | 9e0fe7dc35a81469d74ddd7ea0fcf0bb4b8eaaca /docs | |
| parent | f16ad2253053c3193cf2744e196680c17287e84c (diff) | |
| parent | eaf3f16fc6acfa95621206e3795bd983e355c65a (diff) | |
| download | bootstrap-c1b79347b416d6f9d193075b500adba5a424e5bf.tar.xz bootstrap-c1b79347b416d6f9d193075b500adba5a424e5bf.zip | |
Merge pull request #18264 from twbs/input-group-btns-both-sides
Add input group example with btns on both sides for completeness+testing
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/components/input-group.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/components/input-group.md b/docs/components/input-group.md index 1b3a71545..870e89fee 100644 --- a/docs/components/input-group.md +++ b/docs/components/input-group.md @@ -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 |
