首页>>导航菜单>>响应式菜单,响应式下拉菜单,购物车,移动端左右展开导航菜单(2018-10-17)

响应式菜单,响应式下拉菜单,购物车,移动端左右展开导航菜单

响应式菜单,响应式下拉菜单,购物车,移动端左右展开导航菜单
赞赏支持
立刻微信赞赏支持 关闭

 

XML/HTML Code
  1. <nav class="sina-nav mobile-sidebar navbar-fixed" data-top="0">  
  2.         <div class="container">  
  3.   
  4.             <div class="search-box">  
  5.                 <form role="search" method="get" action="#">  
  6.                     <span class="search-addon close-search"><i class="fa fa-times"></i></span>  
  7.                     <div class="search-input">  
  8.                         <input type="search" class="form-control" placeholder="Search here" value="" name="">  
  9.                     </div>  
  10.                     <span class="search-addon search-icon"><i class="fa fa-search"></i></span>  
  11.                 </form>  
  12.             </div><!-- .search-box -->  
  13.   
  14.             <div class="extension-nav">  
  15.                 <ul>  
  16.                     <li class="search"><a href="#"><i class="fa fa-search"></i></a></li>  
  17.                     <li class="dropdown">  
  18.                         <a href="#" class="dropdown-toggle" data-toggle="dropdown" >  
  19.                             <i class="fa fa-shopping-bag"></i>  
  20.                             <span class="shop-badge">2</span>  
  21.                         </a>  
  22.                         <ul class="dropdown-menu shop-menu">  
  23.                             <li>  
  24.                                 <a href="#" class="shop-item-photo">  
  25.                                     <img src="#" alt="" />  
  26.                                 </a>  
  27.                                 <a href="#" class="shop-item-link">Delica omtantur</a>  
  28.                                 <p class="shop-item-price">2 - $19</p>  
  29.                             </li>  
  30.                             <li>  
  31.                                 <a href="#" class="shop-item-photo">  
  32.                                     <img src="#" alt="" />  
  33.                                 </a>  
  34.                                 <a href="#" class="shop-item-link">Delica omtantur</a>  
  35.                                 <p class="shop-item-price">2 - $19</p>  
  36.                             </li>  
  37.                             <li class="shop-total-price">  
  38.                                 <a href="#" class="btn btn-secondary shop-btn">Cart</a>  
  39.                                 <span>Total: $0.00</span>  
  40.                             </li>  
  41.                         </ul>  
  42.                     </li>  
  43.                     <li><a href="#"><i class="fa fa-facebook"></i></a></li>  
  44.                     <li><a href="#"><i class="fa fa-twitter"></i></a></li>  
  45.                     <li><a href="#"><i class="fa fa-linkedin"></i></a></li>  
  46.                     <li class="widget-bar-btn"><a href="#"><i class="fa fa-bars"></i></a></li>  
  47.                 </ul>  
  48.             </div><!-- .extension-nav -->  
  49.   
  50.             <div class="sina-nav-header">  
  51.                 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-menu">  
  52.                     <i class="fa fa-bars"></i>  
  53.                 </button>  
  54.                 <a class="sina-brand social-on" href="#">  
  55.                     <h2>  
  56.                         Freejs.net  
  57.                     </h2>  
  58.                 </a>  
  59.             </div><!-- .navbar-header -->  
  60.   
  61.             <!-- Collect the nav links, forms, and other content for toggling -->  
  62.             <div class="collapse navbar-collapse" id="navbar-menu">  
  63.                 <ul class="sina-menu" data-in="fadeInLeft" data-out="fadeInOut">  
  64.                     <li class="scroll"><a href="#home">Home</a></li>  
  65.                     <li class="active scroll"><a href="#about">About</a></li>  
  66.                     <li class="dropdown">  
  67.                         <a href="#" class="dropdown-toggle" data-toggle="dropdown" >Dropdown</a>  
  68.                         <ul class="dropdown-menu">  
  69.                             <li><a href="#">Custom Menu</a></li>  
  70.                             <li><a href="#">Custom Menu<p class="description">This is Description</p></a>  
  71.                             </li>  
  72.                             <li class="dropdown">  
  73.                                 <a href="#" class="dropdown-toggle" data-toggle="dropdown" >Dropdown</a>  
  74.                                 <ul class="dropdown-menu">  
  75.                                     <li><a href="#">Custom Menu</a></li>  
  76.                                     <li><a href="#">Custom Menu</a></li>  
  77.                                     <li class="dropdown">  
  78.                                         <a href="#" class="dropdown-toggle" data-toggle="dropdown" >Dropdown</a>  
  79.                                         <ul class="dropdown-menu">  
  80.                                             <li><a href="#">Custom Menu</a></li>  
  81.                                             <li><a href="#">Custom Menu</a></li>  
  82.                                             <li><a href="#">Custom Menu</a></li>  
  83.                                         </ul>  
  84.                                     </li>  
  85.                                     <li><a href="#">Custom Menu</a></li>  
  86.                                 </ul>  
  87.                             </li>  
  88.                         </ul>  
  89.                     </li>  
  90.                     <li class="dropdown menu-item-has-mega-menu">  
  91.                         <a href="#" class="dropdown-toggle" data-toggle="dropdown">Megamenu</a>  
  92.                         <div class="mega-menu dropdown-menu">  
  93.                             <ul class="mega-menu-row" role="menu">  
  94.                                 <li class="mega-menu-col col-md-4">  
  95.                                     <h4 class="mega-menu-col-title">Menu Titlle</h4>  
  96.                                     <ul class="sub-menu">  
  97.                                         <li><a href="#">Custom Menu</a></li>  
  98.                                         <li><a href="#">Custom Menu</a></li>  
  99.                                         <li><a href="#">Custom Menu</a></li>  
  100.                                     </ul>  
  101.                                 </li>  
  102.                                 <li class="mega-menu-col col-md-4">  
  103.                                     <h4 class="mega-menu-col-title">Menu Titlle</h4>  
  104.                                     <ul class="sub-menu">  
  105.                                         <li><a href="#">Custom Menu</a></li>  
  106.                                         <li><a href="#">Custom Menu</a></li>  
  107.                                         <li><a href="#">Custom Menu</a></li>  
  108.                                     </ul>  
  109.                                 </li>  
  110.                                 <li class="mega-menu-col col-md-4">  
  111.                                     <h4 class="mega-menu-col-title">Menu Titlle</h4>  
  112.                                     <ul class="sub-menu">  
  113.                                         <li><a href="#">Custom Menu</a></li>  
  114.                                         <li><a href="#">Custom Menu</a></li>  
  115.                                         <li><a href="#">Custom Menu</a></li>  
  116.                                     </ul>  
  117.                                 </li>  
  118.                             </ul><!-- end row -->  
  119.                         </div>  
  120.                     </li>  
  121.                     <li class="scroll"><a href="#blog">Blog</a></li>  
  122.                     <li class="scroll"><a href="#contact">Contact</a></li>  
  123.                 </ul>  
  124.             </div><!-- /.navbar-collapse -->  
  125.         </div><!-- .container -->  
  126.   
  127.         <!-- Start widget-bar -->  
  128.         <div class="widget-bar">  
  129.             <a href="#" class="close-widget-bar"><i class="fa fa-times"></i></a>  
  130.             <div class="widget">  
  131.                 <h6 class="title">Custom Pages</h6>  
  132.                 <ul class="link">  
  133.                     <li><a href="#">About</a></li>  
  134.                     <li><a href="#">Services</a></li>  
  135.                     <li><a href="#">Blog</a></li>  
  136.                     <li><a href="#">Portfolio</a></li>  
  137.                     <li><a href="#">Contact</a></li>  
  138.                 </ul>  
  139.             </div>  
  140.             <div class="widget">  
  141.                 <h6 class="title">Additional Links</h6>  
  142.                 <ul class="link">  
  143.                     <li><a href="#">Retina Homepage</a></li>  
  144.                     <li><a href="#">New Page Examples</a></li>  
  145.                     <li><a href="#">Parallax Sections</a></li>  
  146.                     <li><a href="#">Shortcode Central</a></li>  
  147.                     <li><a href="#">Ultimate Font Collection</a></li>  
  148.                 </ul>  
  149.             </div>  
  150.         </div>  
  151.         <!-- End widget-bar -->  
  152.     </nav>  

 


原文地址:http://www.freejs.net/article_daohangcaidan_711.html