"Bootstrap 5 dark navbar"
Bootstrap 4.1.1 Snippet by extrabright

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js" integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous"></script> <!------ Include the above in your HEAD tag ----------> <nav class="navbar navbar-expand-lg navbar-dark bg-dark px-0 py-3"> <div class="container-xl"> <!-- Logo --> <a class="navbar-brand" href="#"> <img src="https://preview.webpixels.io/web/img/logos/clever-light.svg" class="h-8" alt="..."> </a> <!-- Navbar toggle --> <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <!-- Collapse --> <div class="collapse navbar-collapse" id="navbarCollapse"> <!-- Nav --> <div class="navbar-nav mx-lg-auto"> <a class="nav-item nav-link active" href="#" aria-current="page">Home</a> <a class="nav-item nav-link" href="#">Product</a> <a class="nav-item nav-link" href="#">Features</a> <a class="nav-item nav-link" href="#">Pricing</a> </div> <!-- Right navigation --> <div class="navbar-nav ms-lg-4"> <a class="nav-item nav-link" href="#">Sign in</a> </div> <!-- Action --> <div class="d-flex align-items-lg-center mt-3 mt-lg-0"> <a href="#" class="btn btn-sm btn-primary w-full w-lg-auto"> Register </a> </div> </div> </div> </nav> <div class="p-10 bg-surface-secondary"> <div class="mb-8 text-center"> <h3 class="mb-2">Crafted with <a href="https://github.com/webpixels/css" target="_blank">Webpixels CSS</a></h3> <p>The design system for Bootstrap 5</p> </div> <div class="mt-8 text-center"> <a href="https://webpixels.io/components?ref=bootsnipp" class="text-warning" target="_blank">Browse all components -></a> </div> </div>
/* Webpixels CSS */ /* Utility and component-centric Design System based on Bootstrap for fast, responsive UI development */ /* URL: https://github.com/webpixels/css */ @import url(https://unpkg.com/@webpixels/css@1.1/dist/index.css);

Related: See More


Questions / Comments: