mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
parent
fe257823ec
commit
33992b7d5b
1 changed files with 23 additions and 18 deletions
|
@ -884,7 +884,11 @@ Put a form within a dropdown menu, or make it into a dropdown menu, and use [mar
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
|
|
||||||
{{< example >}}
|
{{< example >}}
|
||||||
<form class="dropdown-menu p-4">
|
<div class="dropdown">
|
||||||
|
<button type="button" class="btn btn-primary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
|
||||||
|
Dropdown form
|
||||||
|
</button>
|
||||||
|
<form class="dropdown-menu p-4">
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="exampleDropdownFormEmail2" class="form-label">Email address</label>
|
<label for="exampleDropdownFormEmail2" class="form-label">Email address</label>
|
||||||
<input type="email" class="form-control" id="exampleDropdownFormEmail2" placeholder="email@example.com">
|
<input type="email" class="form-control" id="exampleDropdownFormEmail2" placeholder="email@example.com">
|
||||||
|
@ -902,7 +906,8 @@ Put a form within a dropdown menu, or make it into a dropdown menu, and use [mar
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" class="btn btn-primary">Sign in</button>
|
<button type="submit" class="btn btn-primary">Sign in</button>
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
|
|
||||||
## Dropdown options
|
## Dropdown options
|
||||||
|
|
Loading…
Add table
Reference in a new issue