bootstrap自适应多级子菜单弹出导航效果代码

代码语言:html

所属分类:菜单导航

代码描述:bootstrap自适应多级子菜单弹出导航效果代码

代码标签: bootstrap 自适应 多级 菜单 弹出 导航

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">
    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/reset.min.css">

    <link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Ubuntu:400,700'>
    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/all.5.15.3.css">
    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap.3.3.4.css">

    <style>
        body {
          font-family: "Ubuntu", sans-serif;
          -webkit-font-smoothing: antialiased;
          -moz-osx-font-smoothing: grayscale;
          overflow-x: hidden;
          color: #4e4e4e;
          -webkit-transition: all 0.3s ease-in-out;
          -moz-transition: all 0.3s ease-in-out;
          -ms-transition: all 0.3s ease-in-out;
          -o-transition: all 0.3s ease-in-out;
          transition: all 0.3s ease-in-out;
          position: relative;
          left: 0;
        }
        body > .over-menu {
          -webkit-transition: all 0.3s ease-in-out;
          -moz-transition: all 0.3s ease-in-out;
          -ms-transition: all 0.3s ease-in-out;
          -o-transition: all 0.3s ease-in-out;
          transition: all 0.3s ease-in-out;
          position: fixed;
          height: 100%;
          content: "";
          width: 100%;
          left: 0;
          top: 0;
          visibility: hidden;
          opacity: 0;
          background: rgba(0, 0, 0, 0.6);
          z-index: 9;
        }
        body.open-menu {
          left: -250px;
        }
        body.open-menu > .over-menu {
          visibility: visible;
          opacity: 1;
        }
        body.open-menu .menu-container {
          right: 0 !important;
        }
        
        a {
          text-decoration: none !important;
          outline: none;
        }
        
        .hidden {
          display: none;
        }
        
        section {
          position: relative;
          width: 100%;
          float: left;
        }
        
        header {
          -webkit-transition: all 0.3s ease;
          -moz-transition: all 0.3s ease;
          -ms-transition: all 0.3s ease;
          -o-transition: all 0.3s ease;
          transition: all 0.3s ease;
          background-color: transparent;
          width: 100%;
          float: left;
          position: fixed;
          z-index: 10;
          
        }
        header::before {
          -webkit-transition: all 0.3s ease;
          -moz-transition: all 0.3s ease;
          -ms-transition: all 0.3s ease;
          -o-transition: all 0.3s ease;
          transition: all 0.3s ease;
          transform-origin: 0;
          background: #FFF;
          position: absolute;
          width: 100%;
          content: "";
          top: 0;
          right: 0;
          height: 0;
        }
        header .desk-menu {
          position: relative;
          width: 100%;
          float: left;
        }
        header .desk-menu .logo {
          position: absolute;
          float: left;
        }
        header .desk-menu .logo-adn {
          -webkit-transition: all 0.3s ease-in-out;
          -moz-transition: all 0.3s ease-in-out;
          -ms-transition: all 0.3s ease-in-out;
          -o-transition: all 0.3s ease-in-out;
          transition: all 0.3s ease-in-out;
          margin: 20px 0 0;
          position: relative;
          display: table;
          z-index: 1;
        }
        header .desk-menu .logo-adn a {
          -webkit-transition: all 0.3s ease-in-out;
          -moz-transition: all 0.3s ease-in-out;
          -ms-transition: all 0.3s ease-in-out;
          -o-transition: all 0.3s ease-in-out;
          transition: all 0.3s ease-in-out;
          background-image: url("//repo.bfw.wiki/bfwrepo/icon/5d834e33872ba.png");
          background-position: 0;
          color: rgba(0, 0, 0, 0);
          background-repeat: no-repeat;
          background-size: contain;
          display: block;
          width: 40px;
          height: 40px;
          font-size: 0;
        }
        header .desk-menu .box-menu {
          -webkit-transition: all 0.3s ease-in-out;
          -moz-transition: all 0.3s ease-in-out;
          -ms-transition: all 0.3s ease-in-out;
          -o-transition: all 0.3s ease-in-out;
          transition: all 0.3s ease-in-out;
          position: relative;
          padding: 16px 0 0;
          display: block;
          margin: 0 auto;
          float: right;
          text-align: center;
        }
        header .desk-menu .menu-container {
          flo.........完整代码请登录后点击上方下载按钮下载查看

网友评论0