mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-19 03:41:19 +02:00
Update input-group.md with form text example (#37406)
* Update input-group.md with form text example This updated example shows where to correctly put form text (i.e. not inside the input group). * Fix markup * Update input-group.md Co-authored-by: Mark Otto <markd.otto@gmail.com>
This commit is contained in:
@@ -21,10 +21,13 @@ Place one add-on or button on either side of an input. You may also place one on
|
||||
<span class="input-group-text" id="basic-addon2">@example.com</span>
|
||||
</div>
|
||||
|
||||
<label for="basic-url" class="form-label">Your vanity URL</label>
|
||||
<div class="input-group mb-3">
|
||||
<div class="mb-3">
|
||||
<label for="basic-url" class="form-label">Your vanity URL</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text" id="basic-addon3">https://example.com/users/</span>
|
||||
<input type="text" class="form-control" id="basic-url" aria-describedby="basic-addon3">
|
||||
</div>
|
||||
<div class="form-text">Example help text goes outside the input group.</div>
|
||||
</div>
|
||||
|
||||
<div class="input-group mb-3">
|
||||
|
Reference in New Issue
Block a user