index.html 3.73 KB
Newer Older
1
2
3
4
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
5
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
Zlatan Vasović's avatar
Zlatan Vasović committed
6
    <meta name="viewport" content="width=device-width, initial-scale=1">
7
8
    <meta name="description" content="">
    <meta name="author" content="">
9
    <link rel="shortcut icon" href="../../assets/ico/favicon.ico">
10

Nicole's avatar
Nicole committed
11
    <title>Sticky Footer Navbar Template for Bootstrap</title>
12
13

    <!-- Bootstrap core CSS -->
wangsai's avatar
wangsai committed
14
    <link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
15
16

    <!-- Custom styles for this template -->
Nicole's avatar
Nicole committed
17
    <link href="sticky-footer-navbar.css" rel="stylesheet">
18

19
    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
wangsai's avatar
wangsai committed
20
    <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
21
    <script src="../../assets/js/ie-emulation-modes-warning.js"></script>
22

23
24
25
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>

26
27
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
XhmikosR's avatar
XhmikosR committed
28
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
XhmikosR's avatar
XhmikosR committed
29
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
30
    <![endif]-->
31
32
33
34
  </head>

  <body>

35
36
37
38
39
40
41
42
43
44
45
    <!-- Fixed navbar -->
    <div class="navbar navbar-default navbar-fixed-top" role="navigation">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">Project name</a>
46
        </div>
47
48
49
50
51
52
        <div class="collapse navbar-collapse">
          <ul class="nav navbar-nav">
            <li class="active"><a href="#">Home</a></li>
            <li><a href="#about">About</a></li>
            <li><a href="#contact">Contact</a></li>
            <li class="dropdown">
53
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a>
54
              <ul class="dropdown-menu" role="menu">
55
56
57
58
59
60
61
62
63
64
65
                <li><a href="#">Action</a></li>
                <li><a href="#">Another action</a></li>
                <li><a href="#">Something else here</a></li>
                <li class="divider"></li>
                <li class="dropdown-header">Nav header</li>
                <li><a href="#">Separated link</a></li>
                <li><a href="#">One more separated link</a></li>
              </ul>
            </li>
          </ul>
        </div><!--/.nav-collapse -->
66
      </div>
67
    </div>
68

69
70
71
72
    <!-- Begin page content -->
    <div class="container">
      <div class="page-header">
        <h1>Sticky footer with fixed navbar</h1>
73
      </div>
74
75
      <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>
      <p>Back to <a href="../sticky-footer">the default sticky footer</a> minus the navbar.</p>
76
77
    </div>

XhmikosR's avatar
XhmikosR committed
78
    <div class="footer">
79
      <div class="container">
80
        <p class="text-muted">Place sticky footer content here.</p>
81
82
83
      </div>
    </div>

84

85
86
    <!-- Bootstrap core JavaScript
    ================================================== -->
87
    <!-- Placed at the end of the document so the pages load faster -->
XhmikosR's avatar
XhmikosR committed
88
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
89
    <script src="../../dist/js/bootstrap.min.js"></script>
90
  </body>
91
</html>