Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <!--Google -Fonts-->
<link href='https://fonts.googleapis.com/css?family=Sintony:400,700&subset=latin-ext' rel='stylesheet' type='text/css'>

<body>
   <h1>Responsive Mega Menu</h1>
   <div class="container">
      <nav class="navbar navbar-default">
         <div class="navbar-header">
            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#main-navbar">
                  <span class="sr-only">Toggle navigation</span>
                  <span style="color:black;">Menu</span>
                  
            		</button>
            <a class="navbar-brand" href="#">4ECPs MegaMenu</a>
         </div>
         

         <div class="collapse navbar-collapse" id="main-navbar">
            <ul class="nav navbar-nav">
               <li><a href="#">About</a></li>
               <li><a href="#">Request Appointment</a></li>
               <li class="dropdown">
	            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Small Dropdown <span class="glyphicon glyphicon-chevron-down pull-right"></span></a>
	            <ul class="dropdown-menu" role="menu">
	              <li><a href="#">Action</a></li>
	              <li><a href="#">Another action</a></li>
	              <li><a href="#">Something else here</a></li>
	              <li class="divider"></li>
	              <li><a href="#">Separated link</a></li>
	              <li class="divider"></li>
	              <li><a href="#">One more separated link</a></li>
	            </ul>
	          </li>
               <li class="dropdown mega-dropdown">
                  <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Andrew's Uber Menu <span class="glyphicon glyphicon-chevron-down pull-right"></span></a>

                  <ul class="dropdown-menu mega-dropdown-menu row">
                     <li class="col-sm-3">
                        <ul>
                           <li class="dropdown-header">New in Stores</li>
                           <div id="myCarousel" class="carousel slide" data-ride="carousel">
                              <div class="carousel-inner">
                                 <div class="item active">
                                    <a href="#"><img src="http://placehold.it/254x150/3498db/f5f5f5/&text=New+Collection" class="img-responsive" alt="product 1"></a>
                                    <h4><small>Summer Floral</small></h4>
                                     <button href="#" class="btn btn-default" type="button"><span class="glyphicon glyphicon-heart"></span> CTA HERE</button>
                                 </div>
                                 <!-- End Item -->
                                 <div class="item">
                                    <a href="#"><img src="http://placehold.it/254x150/ef5e55/f5f5f5/&text=New+Collection" class="img-responsive" alt="product 2"></a>
                                    <h4><small>Gold Sandals</small></h4>
                                    <button href="#" class="btn btn-default" type="button"><span class="glyphicon glyphicon-heart"></span> CTA HERE</button>
                                 </div>
                                 <!-- End Item -->
                                 <div class="item">
                                    <a href="#"><img src="http://placehold.it/254x150/2ecc71/f5f5f5/&text=New+Collection" class="img-responsive" alt="product 3"></a>
                                    <h4><small>Denin Jacket</small></h4>
                                     <button href="#" class="btn btn-default" type="button"><span class="glyphicon glyphicon-heart"></span> CTA HERE</button>
                                 </div>
                                 <!-- End Item -->
                              </div>
                              <!-- End Carousel Inner -->
                           </div>
                           <!-- /.carousel -->
                           <li class="divider"></li>
                           <li><a href="#">View all Collection <span class="glyphicon glyphicon-chevron-right pull-right"></span></a></li>
                           <li><img class="img-responsive menu-images" src="http://placehold.it/100x100"</li>
                        </ul>
                     </li>
                     <li class="col-sm-3">
                        <ul>
                           <li class="dropdown-header">Dresses</li>
                            <li><a href="#">Default Navbar</a></li>
                           <li><a href="#">Lovely Fonts</a></li>
                           <li><a href="#">Responsive Dropdown </a></li>
                           <li><a href="#">Default Navbar</a></li>
                           <li><a href="#">Lovely Fonts</a></li>
                           <li><a href="#">Responsive Dropdown </a></li>
                           
                           <li class="dropdown-header">Tops</li>
                           <li><a href="#">Good Typography</a></li>
                        </ul>
                     </li>
                     <li class="col-sm-3">
                        <ul>
                           <li class="dropdown-header">Jackets</li>
                           <li><a href="#">Easy to customize</a></li>
                           <li><a href="#">Glyphicons</a></li>
                           <li><a href="#">Pull Right Elements</a></li>
                           
                           <li class="dropdown-header">Pants</li>
                           <li><a href="#">Coloured Headers</a></li>
                           <li><a href="#">Primary Buttons & Default</a></li>
                           <li><a href="#">Calls to action</a></li>
                        </ul>
                     </li>
                     <li class="col-sm-3">
                        <ul>
                           <!--Image Card-->
                <div class="card hoverable">
                    <div class="card-image">
                        <div class="view overlay hm-white-slight z-depth-1">
                            <img src="https://mdbootstrap.com/images/reg/reg%20(2).jpg" class="img-responsive" alt="">
                            <a href="#">
                                <div class="mask waves-effect"></div>
                            </a>
                        </div>
                    </div>
                    <div class="card-content">
                        <li class="dropdown-header">Card title</li>
                        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Id amet, quisquam modi nobis nostrum iusto incidunt dolore assumenda delectus officia quia, sequi eum perspiciatis architecto. Ullam voluptatum, facere nihil quidem.</p>
                    </div>
                    <!--Buttons-->
                    <div class="card-btn text-center">
                        <a href="#" class="btn btn-primary btn-md waves-effect waves-light">Read more</a>
                        <a href="#" class="btn btn-default btn-md waves-effect waves-light">Buy now</a>
                    </div>
                    <!--/.Buttons-->
                </div>
                <!--Image Card-->
                          
                        </ul>
                     </li>
                  </ul>

               </li>
            </ul>

         </div>
         <!-- /.nav-collapse -->
      </nav>
   </div>
</body>
              
            
!

CSS

              
                body {
   font-family: 'Sintony', sans-serif;
   color: #e5e5e5;
   font-size: 12px;
   background: #eee;
   line-height: 1;
}
p{color:grey;}
h1 {
   margin: 25px 10px;
   font-size: 28px;
   text-align: center;
   color: orange;
}

.navbar-nav>li>.dropdown-menu {
   border-top-left-radius: 4px;
   border-top-right-radius: 4px;
}

.dropdown-menu {
   width: 100%;
   min-width: 300px;
}

.mega-dropdown {
   position: static !important;
}

.navbar-brand {
   border-right: 2px solid #eee;
}

.mega-dropdown-menu > li > ul {
   padding: 0;
   margin: 0;
}

.mega-dropdown-menu > li > ul > li {
   list-style: none;
}

.mega-dropdown-menu > li > ul > li > a {
   display: block;
   padding: 3px 20px;
   clear: both;
   font-weight: normal;
   line-height: 1.428571429;
   color: #999;
   white-space: normal;
}

.mega-dropdown-menu > li > ul > li > a:hover {
   color: #e2e2e2;
   text-decoration: none;
}

.dropdown-header {
   font-size: 15px;
   text-transform: uppercase;
   font-weight: 500;
   border-bottom: 1px solid #f1f1f1;
   margin: 10px 0;
   color: #000;
}

.menu-images {
   padding: 5px 20px 5px 20px;
}

.dropdown.mega-dropdown:hover,
.dropdown.mega-dropdown:active,
.dropdown.mega-dropdown:focus {
   background: #eee;
}

.single-item:hover,
.single-item:active,
.single-item:focus {
   background: #eee;
}

span.glyphicon.glyphicon-chevron-down {
   padding: 2px 10px;
}

.dropdown-menu{background:#fff!important;}


              
            
!

JS

              
                jQuery(document).ready(function(){
   

    $(".dropdown").hover(
        function() { $('.dropdown-menu', this).fadeIn(300);
        },
        function() { $('.dropdown-menu', this).fadeOut(300);
    });
   
 
   
});
              
            
!
999px

Console