Skip to content

Commit

Permalink
Add docs about active menu items (twbs#24993)
Browse files Browse the repository at this point in the history
  • Loading branch information
ysds committed Dec 13, 2017
1 parent 6f1e746 commit 2896539
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 2896539

Please sign in to comment.