• Bootstrap历练实例:标签页内的下拉菜单


    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>Bootstrap历练实例:标签页内的下拉菜单</title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <link rel="stylesheet" href="bootstrap-3.3.5-dist/css/bootstrap.min.css" />
    </head>
    <body>
    <div class="container">
    <h2>标签页内的下拉菜单</h2>
    <ul class="nav nav-tabs">
    <li><a href="#">Html5</a></li>
    <li><a href="#">Css3</a></li>
    <li class="dropdown">
    <a href="#" id="dLabel" class="dropdown-toggle" data-toggle="dropdown">
    Web前端
    <span class="caret"></span>
    </a>
    <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
    <li role="presentation">
    <a role="menuitem" href="#" tabindex="-1">Html5</a>
    </li>
    <li role="presentation">
    <a role="menuitem" href="#" tabindex="-1">Css3</a>
    </li>
    <li role="presentation">
    <a role="menuitem" href="#" tabindex="-1">JavaScript</a>
    </li>
    <li role="presentation">
    <a role="menuitem" href="#" tabindex="-1">jQuery</a>
    </li>
    <li role="presentation">
    <a role="menuitem" href="#" tabindex="-1">jQueryUI</a>
    </li>
    <li role="presentation">
    <a role="menuitem" href="#" tabindex="-1">Bootstrap</a>
    </li>
    <li class="divider"></li>
    <li role="presentation">
    <a role="menuitem" href="#" tabindex="-1">C#.Net</a>
    </li>
    <li role="presentation">
    <a role="menuitem" href="#" tabindex="-1">MsSql</a>
    </li>
    </ul>
    </li>
    <li><a href="#">C#.Net</a></li>
    </ul>
    </div>

    <script src="jQuery/jquery-2.1.4.js"></script>
    <script src="bootstrap-3.3.5-dist/js/bootstrap.min.js"></script>
    </body>
    </html>

  • 相关阅读:
    字符设备驱动——申请设备号、注册字符设备
    Linux设备驱动——简单的字符驱动
    Linux驱动入门——构建和运行模块
    Ubuntu12.04下samba服务器共享配置
    python get() 和getattr()
    flask 发送QQ邮箱
    Flask之flask_script
    Flask 知识点
    Flask 项目结构(仅供参考)
    python虚拟环境迁移
  • 原文地址:https://www.cnblogs.com/melao2006/p/4992840.html
Copyright © 2020-2023  润新知