mirror of https://github.com/twbs/bootstrap.git
				
				
				
			linking to the color scheme directly
Because of a color scheme has a color and background color.
This commit is contained in:
		
							parent
							
								
									4026b6f8d9
								
							
						
					
					
						commit
						ec23ccf9d4
					
				|  | @ -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: | 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. | - 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. | - 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. | - 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