bootstrapbeginnermit
Bootstrap Navbar
A responsive navbar.
8.7k2.7k1.0k570
About this module
A Bootstrap navbar with toggler, collapse, dropdown and search form — fully responsive.
#bootstrap#navbar#navigation
Source code
Installation
- 1
Install Bootstrap
Install the package or add the CDN link.
npm install bootstrap - 2
Load the CSS
Import `bootstrap/dist/css/bootstrap.min.css` (and `bootstrap.bundle.min.js` for JS components).
- 3
Paste the markup
Copy the markup into your page.
Usage
- 1
Copy the markup
Paste the HTML below into your page or template.
- 2
Check the JS bundle
Include the Bootstrap JS bundle for the interactive behavior.