5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <meta name="viewport" content="width=device-width, initial-scale=1">
7 <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
8 <meta name="description" content="">
9 <meta name="author" content="">
10 <link rel="icon" href="../../favicon.ico">
12 <title>Sticky Footer Navbar Template for Bootstrap</title>
14 <!-- Bootstrap core CSS -->
15 <link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
17 <!-- Custom styles for this template -->
18 <link href="sticky-footer-navbar.css" rel="stylesheet">
20 <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
21 <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
22 <script src="../../assets/js/ie-emulation-modes-warning.js"></script>
24 <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
26 <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
27 <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
34 <nav class="navbar navbar-default navbar-fixed-top">
35 <div class="container">
36 <div class="navbar-header">
37 <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
38 <span class="sr-only">Toggle navigation</span>
39 <span class="icon-bar"></span>
40 <span class="icon-bar"></span>
41 <span class="icon-bar"></span>
43 <a class="navbar-brand" href="#">Project name</a>
45 <div id="navbar" class="collapse navbar-collapse">
46 <ul class="nav navbar-nav">
47 <li class="active"><a href="#">Home</a></li>
48 <li><a href="#about">About</a></li>
49 <li><a href="#contact">Contact</a></li>
51 <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Dropdown <span class="caret"></span></a>
52 <ul class="dropdown-menu" role="menu">
53 <li><a href="#">Action</a></li>
54 <li><a href="#">Another action</a></li>
55 <li><a href="#">Something else here</a></li>
56 <li class="divider"></li>
57 <li class="dropdown-header">Nav header</li>
58 <li><a href="#">Separated link</a></li>
59 <li><a href="#">One more separated link</a></li>
63 </div><!--/.nav-collapse -->
67 <!-- Begin page content -->
68 <div class="container">
69 <div class="page-header">
70 <h1>Sticky footer with fixed navbar</h1>
72 <p class="lead">Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS. A fixed navbar has been added with <code>padding-top: 60px;</code> on the <code>body > .container</code>.</p>
73 <p>Back to <a href="../sticky-footer">the default sticky footer</a> minus the navbar.</p>
76 <footer class="footer">
77 <div class="container">
78 <p class="text-muted">Place sticky footer content here.</p>
83 <!-- Bootstrap core JavaScript
84 ================================================== -->
85 <!-- Placed at the end of the document so the pages load faster -->
86 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
87 <script src="../../dist/js/bootstrap.min.js"></script>
88 <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
89 <script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>