代码编辑器:
1
2
<meta charset="utf-8">
3
<link href="https://cdn.bootcss.com/bootstrap/2.3.2/css/bootstrap.min.css" rel="stylesheet">
4
<style>.socials { padding: 10px;}</style>
5
<div id="fb-root"></div>
6
<script>(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1";fjs.parentNode.insertBefore(js, fjs);}(document, 'script', 'facebook-jssdk'));</script>
7
<div class="navbar navbar-fixed-top">
8
<div class="navbar-inner">
9
<div class="container" style="width:auto">
10
<ul class="nav">
11
<li class="active">
12
<a href="#">简单教程</a>
13
</li>
14
<li class="dropdown">
15
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
16
Bootstrap
17
<b class="caret"></b>
18
</a>