index.html 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta name="description" content="">
  7. <meta name="author" content="">
  8. <link rel="shortcut icon" href="../../assets/ico/favicon.png">
  9. <title>Sticky Footer Navbar Template for Bootstrap</title>
  10. <!-- Bootstrap core CSS -->
  11. <link href="../../dist/css/bootstrap.css" rel="stylesheet">
  12. <!-- Custom styles for this template -->
  13. <link href="sticky-footer-navbar.css" rel="stylesheet">
  14. <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
  15. <!--[if lt IE 9]>
  16. <script src="../../assets/js/html5shiv.js"></script>
  17. <script src="../../assets/js/respond.min.js"></script>
  18. <![endif]-->
  19. </head>
  20. <body>
  21. <!-- Wrap all page content here -->
  22. <div id="wrap">
  23. <!-- Fixed navbar -->
  24. <div class="navbar navbar-default navbar-fixed-top">
  25. <div class="container">
  26. <div class="navbar-header">
  27. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
  28. <span class="icon-bar"></span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. </button>
  32. <a class="navbar-brand" href="#">Project name</a>
  33. </div>
  34. <div class="collapse navbar-collapse">
  35. <ul class="nav navbar-nav">
  36. <li class="active"><a href="#">Home</a></li>
  37. <li><a href="#about">About</a></li>
  38. <li><a href="#contact">Contact</a></li>
  39. <li class="dropdown">
  40. <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
  41. <ul class="dropdown-menu">
  42. <li><a href="#">Action</a></li>
  43. <li><a href="#">Another action</a></li>
  44. <li><a href="#">Something else here</a></li>
  45. <li class="divider"></li>
  46. <li class="dropdown-header">Nav header</li>
  47. <li><a href="#">Separated link</a></li>
  48. <li><a href="#">One more separated link</a></li>
  49. </ul>
  50. </li>
  51. </ul>
  52. </div><!--/.nav-collapse -->
  53. </div>
  54. </div>
  55. <!-- Begin page content -->
  56. <div class="container">
  57. <div class="page-header">
  58. <h1>Sticky footer with fixed navbar</h1>
  59. </div>
  60. <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 within <code>#wrap</code> with <code>padding-top: 60px;</code> on the <code>.container</code>.</p>
  61. <p>Back to <a href="../sticky-footer">the default sticky footer</a> minus the navbar.</p>
  62. </div>
  63. </div>
  64. <div id="footer">
  65. <div class="container">
  66. <p class="text-muted credit">Example courtesy <a href="http://martinbean.co.uk">Martin Bean</a> and <a href="http://ryanfait.com/sticky-footer/">Ryan Fait</a>.</p>
  67. </div>
  68. </div>
  69. <!-- Bootstrap core JavaScript
  70. ================================================== -->
  71. <!-- Placed at the end of the document so the pages load faster -->
  72. <script src="../../assets/js/jquery.js"></script>
  73. <script src="../../dist/js/bootstrap.min.js"></script>
  74. </body>
  75. </html>