使用Bootstrap将导航栏修复到页面底部
要将导航栏固定在底部,请使用navbar-fixed-bottom类:
示例
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Example</title>
<link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
<script src = "/scripts/jquery.min.js"></script>
<script src = "/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
<nav class = "navbar navbar-default navbar-fixed-bottom" role = "navigation" style="background: orange;">
<div class = "navbar-header">
<a class = "navbar-brand" href = "#">Java Topics</a>
</div>
<div>
<ul class = "nav navbar-nav">
<li class = "active"><a href = "#">Basics</a></li>
<li><a href = "#">Interface</a></li>
<li><a href = "#">Polymorphism</a></li>
<li><a href = "#">Encapsulation</a></li>
</ul>
</div>
</nav>
</body>
</html>热门推荐
10 祝女儿简短祝福语大全
11 大学新年祝福语简短创意
12 元旦适合的祝福语简短
13 朋友出远门祝福语简短
14 初六简短的祝福语
15 祝男孩生日祝福语简短
16 同事调离的祝福语简短
17 拜年红包的祝福语简短
18 妈妈生日祝福语简短励志