Difference between revisions of "Team:EPF Lausanne/Paola"

Line 11: Line 11:
 
<body>
 
<body>
  
<nav class="navbar navbar-inverse">
+
<nav class="navbar navbar-inverse navbar-fixed-top">
 
   <div class="container-fluid">
 
   <div class="container-fluid">
 
     <div class="navbar-header">
 
     <div class="navbar-header">
Line 19: Line 19:
 
       <ul class="nav navbar-nav">
 
       <ul class="nav navbar-nav">
 
         <li class="active"><a href="#">Home</a></li>
 
         <li class="active"><a href="#">Home</a></li>
         <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Page 1 <span class="caret"></span></a>
+
         <li><a href="#">Page 1</a></li>
          <ul class="dropdown-menu">
+
            <li><a href="#">Page 1-1</a></li>
+
            <li><a href="#">Page 1-2</a></li>
+
            <li><a href="#">Page 1-3</a></li>
+
          </ul>
+
        </li>
+
 
         <li><a href="#">Page 2</a></li>
 
         <li><a href="#">Page 2</a></li>
 
         <li><a href="#">Page 3</a></li>
 
         <li><a href="#">Page 3</a></li>
Line 34: Line 28:
 
    
 
    
 
<div class="container">
 
<div class="container">
   <h3>Navbar With Dropdown</h3>
+
   <h3>Fixed Navbar</h3>
   <p>This example adds a dropdown menu for the "Page 1" button in the navigation bar.</p>
+
   <div class="row">
 +
    <div class="col-md-3">
 +
      <p>A fixed navigation bar stays visible in a fixed position (top or bottom) independent of the page scroll.</p>
 +
    </div>
 +
    <div class="col-md-3">
 +
      <p>A fixed navigation bar stays visible in a fixed position (top or bottom) independent of the page scroll.</p>
 +
    </div>
 +
    <div class="col-md-3">
 +
      <p>A fixed navigation bar stays visible in a fixed position (top or bottom) independent of the page scroll.</p>
 +
    </div>
 +
    <div class="col-md-3">
 +
      <p>A fixed navigation bar stays visible in a fixed position (top or bottom) independent of the page scroll.</p>
 +
    </div>
 +
    <div class="clearfix visible-lg"></div>
 +
  </div>
 +
</div>
 +
 
 +
<div class="container">
 +
  <div class="row">
 +
    <div class="col-md-3">
 +
      <p>A fixed navigation bar stays visible in a fixed position (top or bottom) independent of the page scroll.</p>
 +
    </div>
 +
    <div class="col-md-3">
 +
      <p>A fixed navigation bar stays visible in a fixed position (top or bottom) independent of the page scroll.</p>
 +
    </div>
 +
    <div class="col-md-3">
 +
      <p>A fixed navigation bar stays visible in a fixed position (top or bottom) independent of the page scroll.</p>
 +
    </div>
 +
    <div class="col-md-3">
 +
      <p>A fixed navigation bar stays visible in a fixed position (top or bottom) independent of the page scroll.</p>
 +
    </div>
 +
    <div class="clearfix visible-lg"></div>
 +
  </div>
 
</div>
 
</div>
  
 
</body>
 
</body>
 
</html>
 
</html>

Revision as of 13:50, 7 August 2015

<!DOCTYPE html> Bootstrap Case

Fixed Navbar

A fixed navigation bar stays visible in a fixed position (top or bottom) independent of the page scroll.

A fixed navigation bar stays visible in a fixed position (top or bottom) independent of the page scroll.

A fixed navigation bar stays visible in a fixed position (top or bottom) independent of the page scroll.

A fixed navigation bar stays visible in a fixed position (top or bottom) independent of the page scroll.

A fixed navigation bar stays visible in a fixed position (top or bottom) independent of the page scroll.

A fixed navigation bar stays visible in a fixed position (top or bottom) independent of the page scroll.

A fixed navigation bar stays visible in a fixed position (top or bottom) independent of the page scroll.

A fixed navigation bar stays visible in a fixed position (top or bottom) independent of the page scroll.