"meg menu"
Bootstrap 4.1.1 Snippet by satyavra

<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 ----------> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Navigatio Bar</title> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" type="text/css" href="css/style.css"> </head> <body> <div class="banner-area"> <div class="container-fluid"> <div class="row"> <div class="col-12 "> <nav class="navbar navbar-expand-lg navbar-light bg-light"> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbars" aria-controls="navbars" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse d-flex justify-content-center" id="navbars"> <ul class="navbar-nav "> <li class="nav-item dropdown menu-area"> <a class="nav-link dropdown-toggle" href="#" id="mega-one" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Dropdown </a> <div class="dropdown-menu mega-area" aria-labelledby="mega-one "> <div class="row"> <div class="col-sm-6 col-lg-3"> <a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a> </div><div class="col-sm-6 col-lg-3"> <a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a> </div><div class="col-sm-6 col-lg-3"> <a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a> </div><div class="col-sm-6 col-lg-3"> <a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a> </div> </div> </div> </li> <li class="nav-item dropdown menu-area"> <a class="nav-link dropdown-toggle" href="#" id="mega-two" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Dropdown </a> <div class="dropdown-menu mega-area" aria-labelledby="mega-two "> <div class="row"> <div class="col-sm-6 col-lg-3"> <a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a> </div><div class="col-sm-6 col-lg-3"> <a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a> </div><div class="col-sm-6 col-lg-3"> <a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a> </div><div class="col-sm-6 col-lg-3"> <a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a> </div> </div> </div> </li> <li class="nav-item dropdown menu-area"> <a class="nav-link dropdown-toggle" href="#" id="mega-three" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Dropdown </a> <div class="dropdown-menu mega-area" aria-labelledby="mega-three "> <div class="row"> <div class="col-sm-6 col-lg-3"> <a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a> </div><div class="col-sm-6 col-lg-3"> <a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a> </div><div class="col-sm-6 col-lg-3"> <a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a> </div><div class="col-sm-6 col-lg-3"> <a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a><a href="#" class="dropdown-item">demoo1</a> </div> </div> </div> </li> </ul> </div> </nav> </div> </div> </div> </div> <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script> </body> </html>
.banner-area{ height: 100vh; width: 100%; -webkit-background-size:cover; background-size: cover; background-position: center center; } .menu-area{ position: static; } .mega-area{ position: absolute; width: 100%; left: 0; right: 0; padding: 15px; } .dropdown-item{ padding: 5px 0; }

Related: See More


Questions / Comments: