index.html 3.46 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">
6
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
8
9
    <meta name="description" content="">
    <meta name="author" content="">
10
    <link rel="icon" href="../../favicon.ico">
11

Nicole's avatar
Nicole committed
12
    <title>Navbar Template for Bootstrap</title>
13
14

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

    <!-- Custom styles for this template -->
Nicole's avatar
Nicole committed
18
    <link href="navbar.css" rel="stylesheet">
19
20
21
22
23
  </head>

  <body>

    <div class="container">
24
      <nav class="navbar navbar-light bg-faded">
25
        <button class="navbar-toggler hidden-sm-up" type="button" data-toggle="collapse" data-target="#navbar-header" aria-controls="navbar-header" aria-expanded="false" aria-label="Toggle navigation"></button>
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
        <div class="collapse navbar-toggleable-xs" id="navbar-header">
          <a class="navbar-brand" href="#">Navbar</a>
          <ul class="nav navbar-nav">
            <li class="nav-item active">
              <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
            </li>
            <li class="nav-item">
              <a class="nav-link" href="#">Features</a>
            </li>
            <li class="nav-item">
              <a class="nav-link" href="#">Pricing</a>
            </li>
            <li class="nav-item">
              <a class="nav-link" href="#">About</a>
            </li>
          </ul>
42
          <form class="form-inline pull-xs-right">
43
            <input class="form-control" type="text" placeholder="Search">
44
            <button class="btn btn-outline-success" type="submit">Search</button>
45
          </form>
46
47
        </div>
      </nav> <!-- /navbar -->
48
49
50
51

      <!-- Main component for a primary marketing message or call to action -->
      <div class="jumbotron">
        <h1>Navbar example</h1>
52
53
        <p>This example is a quick exercise to illustrate how the default responsive navbar works. It's placed within a <code>.container</code> to limit its width and will scroll with the rest of the page's content.</p>
        <p>At the smallest breakpoint, the collapse plugin is used to hide the links and show a menu button to toggle the collapsed content.</p>
54
        <p>
55
          <a class="btn btn-lg btn-primary" href="../../components/navbar" role="button">View navbar docs &raquo;</a>
56
57
58
59
60
        </p>
      </div>

    </div> <!-- /container -->

61

62
63
64
    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
65
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js" integrity="sha384-THPy051/pYDQGanwU6poAc/hOdQxjnOEXzbT+OuUAFqNqFjL+4IGLBgCJC3ZOShY" crossorigin="anonymous"></script>
XhmikosR's avatar
XhmikosR committed
66
    <script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
67
    <script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.2.0/js/tether.min.js" integrity="sha384-Plbmg8JY28KFelvJVai01l8WyZzrYWG825m+cZ0eDDS1f7d/js6ikvy1+X+guPIB" crossorigin="anonymous"></script>
68
    <script src="../../dist/js/bootstrap.min.js"></script>
69
70
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
71
  </body>
72
</html>