标签:doctype get event 开源 viewport name 使用 toggle media
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>Bootstrap中文网</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Bootstrap是Twitter推出的一个用于前端开发的开源工具包。它由Twitter的设计师Mark Otto和Jacob Thornton合作开发,是一个CSS/HTML框架。目前,Bootstrap最新版本为3.0 。Bootstrap中文网致力于为广大国内开发者提供详尽的中文文档、代码实例等,助力开发者掌握并使用这一框架。">
<meta name="keywords" content="Bootstrap,CSS,CSS框架,CSS framework,javascript,bootcss,bootstrap开发,bootstrap代码,bootstrap入门">
<meta name="author" content="Bootstrap中文网">
<meta name="robots" content="index,follow">
<meta name="application-name" content="bootcss.com">
<meta property="qc:admins" content="1603466166416277433363757477167" />
<!-- Site CSS -->
<link href="http://cdn.bootcss.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="js/html5shiv.min.js"></script>
<script src="js/respond.min.js"></script>
<![endif]-->
<!-- Favicons -->
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target=".navbar-collapse"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
</div>
<div class="navbar-collapse collapse" role="navigation">
<ul class="nav navbar-nav">
<li class="hidden-sm hidden-md"><a href="#" target="_blank" onclick="_hmt.push([‘_trackEvent‘, ‘navbar‘, ‘click‘, ‘v2doc‘])">Bootstrap2中文文档</a></li>
<li><a href="#" target="_blank" onclick="_hmt.push([‘_trackEvent‘, ‘navbar‘, ‘click‘, ‘v3doc‘])">Bootstrap3中文文档</a></li>
<li><a href="#" target="_blank" onclick="_hmt.push([‘_trackEvent‘, ‘navbar‘, ‘click‘, ‘v4doc‘])">Bootstrap 4.0 预览</a></li>
<li><a href="#" target="_blank" onclick="_hmt.push([‘_trackEvent‘, ‘navbar‘, ‘click‘, ‘less‘])">Less 教程</a></li>
<li><a href="#" target="_blank" onclick="_hmt.push([‘_trackEvent‘, ‘navbar‘, ‘click‘, ‘jquery‘])">jQuery API</a></li>
<li><a href="#" target="_blank" onclick="_hmt.push([‘_trackEvent‘, ‘navbar‘, ‘click‘, ‘expo‘])">网站实例</a></li>
</ul>
<ul class="nav navbar-nav navbar-right hidden-sm">
<li><a href="/about/" onclick="_hmt.push([‘_trackEvent‘, ‘navbar‘, ‘click‘, ‘about‘])">关于</a></li>
</ul>
</div>
</div>
</div>
<script src="http://cdn.bootcss.com/jquery/1.11.2/jquery.min.js"></script>
<script src="http://cdn.bootcss.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
</body>
</html>
bootstrap响应式导航
标签:doctype get event 开源 viewport name 使用 toggle media
原文地址:http://www.cnblogs.com/bkysgj/p/6241011.html