Responsive header for branding, navigation and more.
<StyleSheet StyleSheet="Framework.bootstrap.bootstrap.css" /> <StyleSheet ShowModes="rdBrowser" StyleSheet="Framework.bootstrap.Overrides.css" /> <StyleSheet ShowModes="rdBrowser" StyleSheet="Fonts.combined.css" /> <StyleSheet ShowModes="rdBrowser" StyleSheet="Framework.css.Layout.css" /> <IncludeScriptFile ID="jquery" IncludedScriptFile="Framework.bootstrap.jquery.min.js" /> <IncludeScriptFile ID="bootstrap" IncludedScriptFile="Framework.bootstrap.bootstrap.js"> <Note Note="Includes Bootstrap.min.js, Popper.js or tether.js" /> </IncludeScriptFile>
<StyleSheet StyleSheet="Fonts.combined.css" />
.navbar-fixed-top
.container
.container-fluid
.navbar-fixed-bottom
Include .container or .container-fluid to center and pad navbar content.
Use margin utilities like .mr-auto and .ml-auto to force sibling columns away from one another.
.mr-auto
.ml-auto
.nav-brand
Theming the navbar has never been easier thanks to the combination of theming classes and background-color utilities. Choose from .navbar-light for use with light background colors, or .navbar-dark for dark background colors. Then, customize with .bg-* utilities.
.navbar-light
.navbar-dark
.bg-*
Navbars can utilize .navbar-toggler, .navbar-collapse, and .navbar-expand-lg-{sm|md|lg|xl} classes to change when their content collapses behind a button. In combination with other utilities, you can easily choose when to show or hide particular elements. For navbars that never collapse, add the .navbar-expand-lg class on the navbar. For navbars that always collapse, don’t add any .navbar-expand-lg class.
.navbar-toggler
.navbar-collapse
.navbar-expand-lg-{sm|md|lg|xl}
.navbar-expand-lg