From dfa2536c3b7070207a2d1fb21873639b41ae405c Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 15 May 2016 12:29:56 -0700 Subject: Restore .navbar-text and add some basic examples to the docs /cc #18049 --- docs/components/navbar.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'docs/components') diff --git a/docs/components/navbar.md b/docs/components/navbar.md index 10d6547d0..086d49bcb 100644 --- a/docs/components/navbar.md +++ b/docs/components/navbar.md @@ -68,7 +68,6 @@ The `.navbar-brand` can be applied to most elements, but an anchor works best as - {% endexample %} ### Nav @@ -137,6 +136,24 @@ You may also utilize dropdowns in your navbar nav. Dropdown menus require a wrap {% endexample %} +### Text + +Navbars may contain bits of text with the help of `.navbar-text`. This class adjusts vertical alignment and horizontal spacing for strings of text. + +{% example html %} + +{% endexample %} + +Using our utility classes, you can change the alignment of your navbar text. + +{% example html %} + +{% endexample %} + ## Color schemes -- cgit v1.2.3