mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Merge pull request #18116 from bassjobsen/patch-8
linking to the color scheme directly
This commit is contained in:
commit
e7b8dc0b92
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ The navbar is a simple wrapper for positioning branding, navigation, and other e
|
|||
|
||||
Here's what you need to know before getting started with the navbar:
|
||||
|
||||
- Navbars require a wrapping `.navbar` and a color scheme class (either `.navbar-light` or `.navbar-dark`).
|
||||
- Navbars require a wrapping `.navbar` and a [color scheme](#color-schemes).
|
||||
- Navbars and their contents are fluid by default. Use [optional containers](#containers) to limit their horizontal width.
|
||||
- Use `.pull-left` and `.pull-right` to quickly align sub-components.
|
||||
- Ensure accessibility by using a `<nav>` element or, if using a more generic element such as a `<div>`, add a `role="navigation"` to every navbar to explicitly identify it as a landmark region for users of assistive technologies.
|
||||
|
|
Loading…
Reference in a new issue