"ViccoMenu 2"
Bootstrap 4.1.1 Snippet by ayhncalik

<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 ----------> <link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <script src="https://kit.fontawesome.com/8d81614f83.js"></script> <!------ Include the above in your HEAD tag ----------> <!--Google -Fonts--> <link href='https://fonts.googleapis.com/css?family=Sintony:400,700&subset=latin-ext' rel='stylesheet' type='text/css'> <!--Font-awsome--> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> <div class="container"> <div class="xs-menu-cont"> <a id="menutoggle"><i class="fa fa-align-justify"></i> </a> <nav class="xs-menu displaynone"> <ul> <li class="active"> <a href="#">Yeni Sezon</a> </li> <li> <a href="#">Kız</a> </li> <li> <a href="#">Erkek</a> </li> <li> <a href="#">Aksesuar</a> </li> <li> <a href="#">Fırsat Garajı</a> </li> <li> <a href="#">Toledo</a> </li> </ul> </nav> </div> <nav class="menu"> <ul> <li class="active"> <a href="#">Yeni Sezon</a> </li> <li class="drop-down"> <a href="#">Kız</a> <div class="mega-menu fadeIn animated"> <div class="mm-6column"> <span class="left-images"> <img src="https://www.viccoshop.com.tr/Uploads/Images/252x280px_4.jpg"> <p>İndirimli Ürünler </p> </span> <span class="categories-list"> <ul> <span>İlk Adım</span> <li>Panduf</li> <li>Patik</li> <li><a class="mm-view-more" href="#">Tümü →</a></li> </ul> </span> </div> <div class="mm-3column"> <span class="categories-list"> <ul> <span>Bebek</span> <li>Panduf <li>Sandalet <li><a class="mm-view-more" href="#">Tümü →</a></li> </ul> </span> </div> <div class="mm-3column"> <span class="categories-list"> <ul> <span>Çocuk & Genç</span> <li>Spor Aykakkabı</li> <li>Terlik</li> <li>Babet</li> <li><a class="mm-view-more" href="#">Tümü →</a></li> </ul> </span> </div> </div> </li> <li> <a href="#">Erkek</a> </li> <li> <a href="#">Aksesuar</a> </li> <li> <a href="#">Toledo</a> </li> <li style="float:right;"> <a href="#" ><i class="fas fa-tag"></i>Fırsat Garajı</a> </li> </ul> </nav> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
body { font-family: 'Sintony', sans-serif; color: hsl(76, 25%, 71%) none repeat scroll 0 0; font-size: 12px; background: #bfbfbf; line-height: 1; } *, *:before, *:after { box-sizing: border-box; } /** * Eric Meyer's Reset CSS v2.0 (https://meyerweb.com/eric/tools/css/reset/) * http://cssreset.com */ html, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }/* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } header h2 { margin: 25px 10px; font-size: 28px; text-align: center; color: cornsilk; } .container { margin: 10px auto; display: table; max-width: 1140px; width: 100%; } .container:after, .container:before { content: "" clear : both; } nav.menu { background: #a84884; position: relative; min-height: 45px; } .menu > ul > li { list-style: none; display: inline-block; color: #fff; line-height: 45px; } .menu > ul li a, .xs-menu li a { text-decoration: none; color: #fff; display:block; padding: 0px 24px; } .menu > ul li a:hover { background:#ffc4e6; color: #fff; transition-duration: 0.3s; -moz-transition-duration: 0.3s; -webkit-transition-duration: 0.3s; } .active{ background:#ffc4e6 !important; } .displaynone{ display: none; } .xs-menu-cont{ display:none; } .xs-menu-cont > a { background: none repeat scroll 0 0 #ff7f50; border-radius: 3px; padding: 3px 6px; display: block; border-bottom:1px solid #E67248; box-shadow: 0 1px 2px #e67248; -webkit-box-shadow: 0 1px 2px #e67248; -moz-box-shadow: 0 1px 2px #e67248; } .xs-menu-cont > a:hover{ cursor: pointer; } .xs-menu li { color: #fff; padding: 14px 30px; border-bottom: 1px solid #ccc; background: #FF7F50; } .xs-menu a{ text-decoration:none; } .mega-menu { background: none repeat scroll 0 0 #888; left: 0; margin-top: 3px; position: absolute; width: 100%; padding:15px; display:none; transition-duration: 0.9s; } #menutoggle i { color: #fff; font-size: 33px; margin: 0; padding: 0; } /*--column--*/ .mm-6column:after, .mm-6column:before, .mm-3column:after, .mm-3column:before{ content:""; display:table; clear:both; } .mm-6column, .mm-3column { float: left; position: relative; } .mm-6column { width: 50%; } .mm-3column { width: 25%; } .responsive-img { display: block; max-width: 100%; } .left-images{ margin-right:25px; } .left-images, .left-categories-list { float: left; } .categories-list li { display: block; line-height: normal; margin: 0; padding: 5px 0; } .categories-list li :hover{ background:inherit !important; } .left-images > p { background: none repeat scroll 0 0 #ff7f50; display: block; font-size: 18px; line-height: normal; margin: 0; padding: 5px 14px; } .categories-list span { font-size: 18px; padding-bottom: 5px; text-transform: uppercase; } .mm-view-more{ background: none repeat scroll 0 0 #ff7f50; color: #fff; display: inline !important; line-height: normal; padding: 5px 8px !important; margin-top:10px; } .display-on{ display:block; transition-duration: 0.9s; } .drop-down > a:after{ content:"\f078"; color:#fff; font-family: FontAwesome; font-style: normal; margin-left: 5px; } /*MediaQuerys*/ @media (max-width: 600px) { .menu { display:none; } .xs-menu li a { padding:0px; } .xs-menu-cont{ display:block ; } } /*Animation--*/ .animated { -webkit-animation-duration: 1s; animation-duration: 1s; -webkit-animation-fill-mode: both; animation-fill-mode: both; } @-webkit-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } .fadeIn { -webkit-animation-name: fadeIn; animation-name: fadeIn; }
$(document).ready(function() { //responsive menu toggle $("#menutoggle").click(function() { $('.xs-menu').toggleClass('displaynone'); }); //add active class on menu $('ul li').click(function(e) { e.preventDefault(); $('li').removeClass('active'); $(this).addClass('active'); }); //drop down menu $(".drop-down").hover(function() { $('.mega-menu').addClass('display-on'); }); $(".drop-down").mouseleave(function() { $('.mega-menu').removeClass('display-on'); }); });

Related: See More


Questions / Comments: