0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

linking to the color scheme directly

Because of a color scheme has a color and background color.
This commit is contained in:
Bass Jobsen 2015-10-31 01:54:33 +01:00
parent 4026b6f8d9
commit ec23ccf9d4

View File

@ -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.