0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Add docs about active menu items (#24993)

This commit is contained in:
ysds 2017-12-13 13:08:31 +09:00 committed by Mark Otto
parent ee83a963f3
commit 0b771174d5

View File

@ -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**.