diff --git a/docs/components/navbar.md b/docs/components/navbar.md index d2553de798..ea4245b462 100644 --- a/docs/components/navbar.md +++ b/docs/components/navbar.md @@ -16,7 +16,7 @@ The navbar is a wrapper that positions branding, navigation, and other elements Here's what you need to know before getting started with the navbar: -- Navbars require a wrapping `.navbar` and [color scheme](#color-schemes) classes. +- Navbars require a wrapping `.navbar` with `.navbar-toggleable-*` for responsive collapsing and [color scheme](#color-schemes) classes. - Navbars and their contents are fluid by default. Use [optional containers](#containers) to limit their horizontal width. - Navbars and their contents are built with flexbox, providing easy alignment options via utility classes. - Navbars are responsive by default, but you can easily modify them to change that. Responsive behavior depends on our Collapse JavaScript plugin. @@ -28,25 +28,24 @@ Read on for an example and list of supported sub-components. Navbars come with built-in support for a handful of sub-components. Choose from the following as needed: -- `.navbar-brand` for your company, product, or project name -- `.navbar-nav` for a full-height and lightweight navigation (including support for dropdowns) +- `.navbar-brand` for your company, product, or project name. +- `.navbar-nav` for a full-height and lightweight navigation (including support for dropdowns). - `.navbar-toggler` for use with our collapse plugin and other [navigation toggling](#collapsible-content) behaviors. -- Inline forms with `.float-` utilities for form controls and components. +- `.form-inline` for any form controls and actions. - `.navbar-text` for adding vertically centered strings of text. -- `.form-inline` for form controls and more. - `.collapse.navbar-collapse` for grouping and hiding navbar contents by a parent breakpoint. -Here's an example of all the sub-components included in a responsive light-themed navbar. +Here's an example of all the sub-components included in a responsive light-themed navbar that automatically collapses at the `md` (medium) breakpoint. {% example html %} -