From: Mark Otto Date: Fri, 13 May 2016 15:19:16 +0000 (-0700) Subject: Add dropdown menu example to navbar docs X-Git-Tag: v4.0.0-alpha.5~4^2~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05bdecd0b09a007ae949f49fdff9006650c06969;p=thirdparty%2Fbootstrap.git Add dropdown menu example to navbar docs --- diff --git a/docs/components/navbar.md b/docs/components/navbar.md index 5f7f366344..ea5a361063 100644 --- a/docs/components/navbar.md +++ b/docs/components/navbar.md @@ -107,6 +107,34 @@ And because we use classes for our navs, you can avoid the list-based approach e {% endexample %} +You may also utilize dropdowns in your navbar nav. Dropdown menus require a wrapping element for positioning, so be sure to use separate and nested elements for `.nav-item` and `.nav-link` as shown below. + +{% example html %} + +{% endexample %} + ## Color schemes