Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

91 righe
3.8 KiB

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <meta name="description" content="">
  8. <meta name="author" content="">
  9. <link rel="icon" href="../../favicon.ico">
  10. <title>Sticky Footer Navbar Template for Bootstrap</title>
  11. <!-- Bootstrap core CSS -->
  12. <link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
  13. <!-- Custom styles for this template -->
  14. <link href="sticky-footer-navbar.css" rel="stylesheet">
  15. <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
  16. <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
  17. <script src="../../assets/js/ie-emulation-modes-warning.js"></script>
  18. <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  19. <!--[if lt IE 9]>
  20. <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  21. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  22. <![endif]-->
  23. </head>
  24. <body>
  25. <!-- Fixed navbar -->
  26. <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
  27. <div class="container">
  28. <div class="navbar-header">
  29. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
  30. <span class="sr-only">Toggle navigation</span>
  31. <span class="icon-bar"></span>
  32. <span class="icon-bar"></span>
  33. <span class="icon-bar"></span>
  34. </button>
  35. <a class="navbar-brand" href="#">Project name</a>
  36. </div>
  37. <div id="navbar" class="collapse navbar-collapse">
  38. <ul class="nav navbar-nav">
  39. <li class="active"><a href="#">Home</a></li>
  40. <li><a href="#about">About</a></li>
  41. <li><a href="#contact">Contact</a></li>
  42. <li class="dropdown">
  43. <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a>
  44. <ul class="dropdown-menu" role="menu">
  45. <li><a href="#">Action</a></li>
  46. <li><a href="#">Another action</a></li>
  47. <li><a href="#">Something else here</a></li>
  48. <li class="divider"></li>
  49. <li class="dropdown-header">Nav header</li>
  50. <li><a href="#">Separated link</a></li>
  51. <li><a href="#">One more separated link</a></li>
  52. </ul>
  53. </li>
  54. </ul>
  55. </div><!--/.nav-collapse -->
  56. </div>
  57. </nav>
  58. <!-- Begin page content -->
  59. <div class="container">
  60. <div class="page-header">
  61. <h1>Sticky footer with fixed navbar</h1>
  62. </div>
  63. <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>
  64. <p>Back to <a href="../sticky-footer">the default sticky footer</a> minus the navbar.</p>
  65. </div>
  66. <div class="footer">
  67. <div class="container">
  68. <p class="text-muted">Place sticky footer content here.</p>
  69. </div>
  70. </div>
  71. <!-- Bootstrap core JavaScript
  72. ================================================== -->
  73. <!-- Placed at the end of the document so the pages load faster -->
  74. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
  75. <script src="../../dist/js/bootstrap.min.js"></script>
  76. <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
  77. <script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
  78. </body>
  79. </html>