diff --git a/components.html b/components.html index 6b3ca7053e..0c84d60a63 100644 --- a/components.html +++ b/components.html @@ -1312,7 +1312,7 @@ base_url: "../"
For buttons not residing in a <form>, add this class to vertically center buttons within a navbar.
<form>
Wrap strings of text in an element with .navbar-text, usually on a <p> tag for proper leading and color.
.navbar-text
<p>
For folks using standard links that are not within the regular navbar navigation component, use the .navbar-link class to add the proper colors for the default and inverse navbar options.
.navbar-link
Add .navbar-fixed-top.
.navbar-fixed-top
Add .navbar-fixed-bottom instead.
.navbar-fixed-bottom
Create a full-width navbar that scrolls away with the page by adding .navbar-static-top. Unlike the .navbar-fixed-* classes, you do not need to change any padding on the body.
.navbar-static-top
.navbar-fixed-*
body
The ScrollSpy plugin is for automatically updating nav targets based on scroll position. Scroll the area below the navbar and watch the active class change. The dropdown sub items will be highlighted as well.