Skip to content

Commit

Permalink
Add docs about active menu items (#24993)
Browse files Browse the repository at this point in the history
  • Loading branch information
ysds authored and mdo committed Dec 28, 2017
1 parent ee83a96 commit 0b77117
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/4.0/components/dropdowns.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**.
Expand Down

0 comments on commit 0b77117

Please sign in to comment.