bootstrap-source/bootstrap-3.0.3/examples/sticky-footer-navbar/index.html
changeset 115 a9d04f5f5650
parent 54 0ded9d7748b7
equal deleted inserted replaced
114:6093dda9fe38 115:a9d04f5f5650
     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.0">
       
     7     <meta name="description" content="">
       
     8     <meta name="author" content="">
       
     9     <link rel="shortcut icon" href="../../docs-assets/ico/favicon.png">
       
    10 
       
    11     <title>Sticky Footer Navbar Template for Bootstrap</title>
       
    12 
       
    13     <!-- Bootstrap core CSS -->
       
    14     <link href="../../dist/css/bootstrap.css" rel="stylesheet">
       
    15 
       
    16     <!-- Custom styles for this template -->
       
    17     <link href="sticky-footer-navbar.css" rel="stylesheet">
       
    18 
       
    19     <!-- Just for debugging purposes. Don't actually copy this line! -->
       
    20     <!--[if lt IE 9]><script src="../../docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
       
    21 
       
    22     <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
       
    23     <!--[if lt IE 9]>
       
    24       <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
       
    25       <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
       
    26     <![endif]-->
       
    27   </head>
       
    28 
       
    29   <body>
       
    30 
       
    31     <!-- Wrap all page content here -->
       
    32     <div id="wrap">
       
    33 
       
    34       <!-- Fixed navbar -->
       
    35       <div class="navbar navbar-default navbar-fixed-top" role="navigation">
       
    36         <div class="container">
       
    37           <div class="navbar-header">
       
    38             <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
       
    39               <span class="sr-only">Toggle navigation</span>
       
    40               <span class="icon-bar"></span>
       
    41               <span class="icon-bar"></span>
       
    42               <span class="icon-bar"></span>
       
    43             </button>
       
    44             <a class="navbar-brand" href="#">Project name</a>
       
    45           </div>
       
    46           <div class="collapse navbar-collapse">
       
    47             <ul class="nav navbar-nav">
       
    48               <li class="active"><a href="#">Home</a></li>
       
    49               <li><a href="#about">About</a></li>
       
    50               <li><a href="#contact">Contact</a></li>
       
    51               <li class="dropdown">
       
    52                 <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
       
    53                 <ul class="dropdown-menu">
       
    54                   <li><a href="#">Action</a></li>
       
    55                   <li><a href="#">Another action</a></li>
       
    56                   <li><a href="#">Something else here</a></li>
       
    57                   <li class="divider"></li>
       
    58                   <li class="dropdown-header">Nav header</li>
       
    59                   <li><a href="#">Separated link</a></li>
       
    60                   <li><a href="#">One more separated link</a></li>
       
    61                 </ul>
       
    62               </li>
       
    63             </ul>
       
    64           </div><!--/.nav-collapse -->
       
    65         </div>
       
    66       </div>
       
    67 
       
    68       <!-- Begin page content -->
       
    69       <div class="container">
       
    70         <div class="page-header">
       
    71           <h1>Sticky footer with fixed navbar</h1>
       
    72         </div>
       
    73         <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>
       
    74         <p>Back to <a href="../sticky-footer">the default sticky footer</a> minus the navbar.</p>
       
    75       </div>
       
    76     </div>
       
    77 
       
    78     <div id="footer">
       
    79       <div class="container">
       
    80         <p class="text-muted">Place sticky footer content here.</p>
       
    81       </div>
       
    82     </div>
       
    83 
       
    84 
       
    85     <!-- Bootstrap core JavaScript
       
    86     ================================================== -->
       
    87     <!-- Placed at the end of the document so the pages load faster -->
       
    88     <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
       
    89     <script src="../../dist/js/bootstrap.min.js"></script>
       
    90   </body>
       
    91 </html>
       
Impressum Datenschutzerklärung