Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example with input group between two inputs #31984

Merged
merged 3 commits into from
Oct 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions site/content/docs/5.0/forms/input-group.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
</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">
<span class="input-group-text">With textarea</span>
<textarea class="form-control" aria-label="With textarea"></textarea>
Expand Down