mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-15 07:33:09 +00:00
Add docs about active menu items (#24993)
This commit is contained in:
parent
ee83a963f3
commit
0b771174d5
1 changed files with 13 additions and 0 deletions
|
|
@ -648,6 +648,19 @@ Put a form within a dropdown menu, or make it into a dropdown menu, and use [mar
|
|||
</form>
|
||||
{% endexample %}
|
||||
|
||||
## Active menu items
|
||||
|
||||
Add `.active` to items in the dropdown to **style them as active**.
|
||||
|
||||
{% example html %}
|
||||
|
||||
<div class="dropdown-menu">
|
||||
<a class="dropdown-item" href="#">Regular link</a>
|
||||
<a class="dropdown-item active" href="#">Active link</a>
|
||||
<a class="dropdown-item" href="#">Another link</a>
|
||||
</div>
|
||||
{% endexample %}
|
||||
|
||||
## Disabled menu items
|
||||
|
||||
Add `.disabled` to items in the dropdown to **style them as disabled**.
|
||||
|
|
|
|||
Loading…
Reference in a new issue