"Bootstrap 4 Off-canvaS MENU BY DEEPAK"
Bootstrap 4.1.1 Snippet by deepakkamboj

<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 ----------> <section class="bg-primary"> <div class="container"> <!-- START NAVBAR --> <nav class="navbar navbar-expand-lg fixed-top navbar-dark bg-dark navbar-offcanvas"> <a class="navbar-brand mr-auto" href="#">Offcanvas navbar - toggle always visible</a> <!-- If you want to show the button online on mobile use this toggle <button class="navbar-toggler p-0 border-0" type="button" data-toggle="offcanvas"> <span class="navbar-toggler-icon"></span> </button> --> <!-- This toggle button is always visible --> <button class="navbar-toggler d-block" type="button" id="navToggle"> <span class="navbar-toggler-icon"></span> </button> <div class="navbar-collapse offcanvas-collapse"> <ul class="navbar-nav mr-auto"> <li class="nav-item active"> <a class="nav-link" href="#">Dashboard <span class="sr-only">(current)</span></a> </li> <li class="nav-item"> <a class="nav-link" href="#">Notifications</a> </li> <li class="nav-item"> <a class="nav-link" href="#">Profile</a> </li> <li class="nav-item"> <a class="nav-link" href="#">Switch account</a> </li> <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle" href="https://example.com" id="dropdown01" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Settings</a> <div class="dropdown-menu" aria-labelledby="dropdown01"> <a class="dropdown-item" href="#">Action</a> <a class="dropdown-item" href="#">Another action</a> <a class="dropdown-item" href="#">Something else here</a> </div> </li> </ul> </div> </nav> <!-- END NAVBAR --> </div> <!--/.container --> </section> <section> <div class="container py-3"> This demo is a remix of the <a href="http://getbootstrap.com/docs/4.1/examples/offcanvas/">off canvas example</a> on the Bootstrap 4 documentation. </div> </section>

Related: See More


Questions / Comments: