-3
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>馬面的青春部落格</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--爲了確保適當的繪製和觸屏縮放,需要在 <head> 之中添加 viewport 元數據標籤。-->
<link href="CSS/bootstrap.min.css" rel="stylesheet" type="text/css" media="all"> <!--插入bootstarp-->
<link href="CSS/main.css" rel="stylesheet" type="text/css" media="all">
<script type="text/javascript" src="JavaScript/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="JavaScript/bootstrap.min.js"></script><!--引入js文件-->
<script type="text/javascript" src="JavaScript/main.js"></script>
</head>
<body>
<nav class="navbar navbar-default" >
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">馬面的青春部落格</a>
</div>
<div class="collapse navbar-collapse " id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="Blog.html">文章</a></li>
<li><a href="Photo.html">相冊</a></li>
<li><a href="Person.html">個人簡介</a></li>
<li><a href="Contact.html">聯繫方式</a></li>
<li><img class="navimg" src="image/twitter.png" ></li>
<li><img class="navimg" src="image/Github.png" ></li>
<li><img class="navimg" src="image/gmail.png" ></li>
</ul>
</div>
</nav>
</body>
</html>
示例:markmamian.github.io導航欄是不工作的移動。
嘗試更新你的問題是更容易理解。 –