mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
v4 docs Missed navbar color scheme name changes
Change d6b6a20a0d
missed two doc mentions
of the previous names when changing to new:
.navbar-default --> .navbar-light
.navbar-inverse --> .navbar-dark
This commit is contained in:
parent
a30a5bb9b5
commit
af83f80a9b
@ -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-default` or `.navbar-inverse`).
|
||||
- Navbars require a wrapping `.navbar` and a color scheme class (either `.navbar-light` or `.navbar-dark`).
|
||||
- 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 New Issue
Block a user