zoukankan      html  css  js  c++  java
  • Bootstrap历练实例:响应式导航

    <!DOCTYPE html>
    <html lang="zh-cn">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible"content="IE=edge" />
    <meta name="viewport"content="width=device-width,initial-scale=1.0" />
    <link rel="stylesheet"href="bootstrap-3.3.5/dist/css/bootstrap.min.css" />
    <title>Bootstrap历练实例:响应式导航</title>
    <meta charset="utf-8" />
    <!--[if lt IE 9]-->
    <script src="http://apps.bdimg.com/libs/html5shiv/3.7/html5shiv.min.js"></script>
    <script src="http://apps.bdimg.com/libs/respond.js/1.4.2/respond.js"></script>
    <!--[endif]-->
    </head>
    <body>
    <nav class="navbar navbar-inverse"role="navigation">
    <div class="container">
    <div class="navbar-header">
    <button type="button" class="navbar-toggle"data-toggle="collapse"data-target="#navbar">
    <span class="sr-only">切换导航</span>
    <span class="icon-bar"></span>
    <span class="icon-bar"></span>
    <span class="icon-bar"></span>
    </button>
    <a href="#"class="navbar-brand">Bootstrap</a>
    </div>
    <div class="navbar-collapse collapse"id="navbar">
    <ul class="nav navbar-nav">
    <li class="active"><a href="#">Html5</a></li>
    <li><a href="#">Css3</a></li>
    <li><a href="#">Javascript</a></li>
    <li><a href="#">jQuery</a></li>
    <li><a href="#">jQueryUI</a></li>
    <li><a href="#">Bootstrap</a></li>
    <li><a href="#">C#.Net</a></li>
    <li><a href="#">MsSql</a></li>
    <li class="dropdown">
    <a href="#" class="dropdown-toggle"data-toggle="dropdown">Html5前端
    <span class="caret"></span>
    </a>
    <ul class="dropdown-menu"role="menu">
    <li><a href="#">Html5</a></li>
    <li><a href="#">Css3</a></li>
    <li><a href="#">Javascript</a></li>
    <li><a href="#">jQuery</a></li>
    <li><a href="#">jQueryUI</a></li>
    <li><a href="#">Bootstrap</a></li>
    <li><a href="#">C#.Net</a></li>
    <li><a href="#">MsSql</a></li>
    </ul>
    </li>
    </ul>
    </div>
    </div>
    </nav>
    <script src="jQuery/jquery-2.1.4.js"></script>
    <script src="bootstrap-3.3.5/dist/js/bootstrap.min.js"></script>
    </body>
    </html>

  • 相关阅读:
    用于图片处理的10个超级jQuery插件
    [VS2010].NET4.0环境下使用.NET2.0程序集,出现“混合模式程序集异常”
    对企业虚拟化应用的一些感受[原创]
    留学生不回国:中国物价超美国 没车没房没尊严!
    Research Assembly Setting!
    [转] 微软的软件测试方法(附读后感)
    应用 ZedGraph
    [转] LOGIGEAR SECURITY POLICIES
    一道程序运行结果题
    VS05 与 VS08并存时编译出现 The binding handle is invalid.
  • 原文地址:https://www.cnblogs.com/melao2006/p/5014729.html
Copyright © 2011-2022 走看看