"Navbar with split buttons"
Bootstrap 4.0.0 Snippet by ChickenDumpLing

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/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 ----------> <header> <div class="container-fluid bg-warning"> <div class="container nav-fill w-100"> <nav class="navbar navbar-expand-md navbar-light" role="navigation"> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarContent" aria-controls="navbarContent" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarContent"> <ul class="navbar-nav nav-fill w-100"> <li> <a href="/home.html" role="button" class="btn btn-danger">Home</a> </li> <li> <div class="btn-group"> <a href="/brand.html" role="button" class="btn btn-danger">Brand</a> <button type="button" class="btn btn-danger dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <span class="sr-only">Toggle Dropdown</span> </button> <div class="dropdown-menu"> <a class="dropdown-item" href="#">Action</a> </div> </div> </li> <li> <div class="btn-group"> <a href="/accessories.html" role="button" class="btn btn-danger">Accessories</a> <button type="button" class="btn btn-danger dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <span class="sr-only">Toggle Dropdown</span> </button> <div class="dropdown-menu"> <a class="dropdown-item" href="#">Action</a> </div> </div> </li> </ul> </div> </nav> </div> </div> </header>

Related: See More


Questions / Comments: