0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Add example with input group between two inputs

This commit is contained in:
Jonathan 2020-10-27 10:14:49 +01:00 committed by Mark Otto
parent 1baa73591b
commit 582f52e9e1

View File

@ -33,6 +33,12 @@ Place one add-on or button on either side of an input. You may also place one on
<span class="input-group-text">.00</span> <span class="input-group-text">.00</span>
</div> </div>
<div class="input-group mb-3">
<input type="text" class="form-control" placeholder="Username">
<span class="input-group-text">@</span>
<input type="text" class="form-control" placeholder="Server">
</div>
<div class="input-group"> <div class="input-group">
<span class="input-group-text">With textarea</span> <span class="input-group-text">With textarea</span>
<textarea class="form-control" aria-label="With textarea"></textarea> <textarea class="form-control" aria-label="With textarea"></textarea>