Get started with bootstrap-mega-menu CDN
MIT licensed
Bootstrap Mega Menu: Extends Bootstrap navigation with multi-column layouts.
Tags:- bootstrap
- bootstrap5
- responsive
- navigation
- responsive-design
- navbar
- bootstrap5-template
- dropdown
- menu
- mega-menu
- bootstrap-megamenu
Stable version
Copied!
How to start using bootstrap-mega-menu CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with bootstrap-mega-menu CDN - cdnhub.io</title>
<!-- Add Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Add Bootstrap Mega Menu CSS -->
<link rel="stylesheet" href="https://cdn.cdnhub.io/bootstrap-mega-menu/1.0.0/bootstrap-mega-menu.min.css">
</head>
<body>
<!-- Navbar with Mega Menu -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid">
<a class="navbar-brand" href="#">Logo</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link px-2 link-secondary" href="#">Home</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle px-2" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Categories
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="#">Category 1</a></li>
<li><a class="dropdown-item" href="#">Category 2</a></li>
<li><a class="dropdown-item" href="#">Category 3</a></li>
<li class="mega-menu">
<a class="dropdown-item text-decoration-none" href="#">Mega Menu</a>
<div class="ms-3">
<ul class="list-unstyled mb-0">
<li><a href="#">Submenu 1</a></li>
<li><a href="#">Submenu 2</a></li>
<li><a href="#">Submenu 3</a></li>
</ul>
<ul class="list-unstyled mb-0">
<li><a href="#">Submenu 1</a></li>
<li><a href="#">Submenu 2</a></li>
<li><a href="#">Submenu 3</a></li>
</ul>
</div>
</li>
</ul>
</li>
</ul>
<form class="d-flex">
<input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success" type="submit">Search</button>
</form>
</div>
</div>
</nav>
<!-- Add Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.min.js"></script>
<!-- Add Bootstrap Mega Menu JS -->
<script src="https://cdn.cdnhub.io/bootstrap-mega-menu/1.0.0/bootstrap-mega-menu.min.js"></script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!