bootstrap-source/bootstrap-3.0.3/examples/offcanvas/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>Off Canvas Template for Bootstrap</title>
       
    12 
       
    13     <!-- Bootstrap core CSS -->
       
    14     <link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
       
    15 
       
    16     <!-- Custom styles for this template -->
       
    17     <link href="offcanvas.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     <div class="navbar navbar-fixed-top navbar-inverse" role="navigation">
       
    31       <div class="container">
       
    32         <div class="navbar-header">
       
    33           <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
       
    34             <span class="sr-only">Toggle navigation</span>
       
    35             <span class="icon-bar"></span>
       
    36             <span class="icon-bar"></span>
       
    37             <span class="icon-bar"></span>
       
    38           </button>
       
    39           <a class="navbar-brand" href="#">Project name</a>
       
    40         </div>
       
    41         <div class="collapse navbar-collapse">
       
    42           <ul class="nav navbar-nav">
       
    43             <li class="active"><a href="#">Home</a></li>
       
    44             <li><a href="#about">About</a></li>
       
    45             <li><a href="#contact">Contact</a></li>
       
    46           </ul>
       
    47         </div><!-- /.nav-collapse -->
       
    48       </div><!-- /.container -->
       
    49     </div><!-- /.navbar -->
       
    50 
       
    51     <div class="container">
       
    52 
       
    53       <div class="row row-offcanvas row-offcanvas-right">
       
    54 
       
    55         <div class="col-xs-12 col-sm-9">
       
    56           <p class="pull-right visible-xs">
       
    57             <button type="button" class="btn btn-primary btn-xs" data-toggle="offcanvas">Toggle nav</button>
       
    58           </p>
       
    59           <div class="jumbotron">
       
    60             <h1>Hello, world!</h1>
       
    61             <p>This is an example to show the potential of an offcanvas layout pattern in Bootstrap. Try some responsive-range viewport sizes to see it in action.</p>
       
    62           </div>
       
    63           <div class="row">
       
    64             <div class="col-6 col-sm-6 col-lg-4">
       
    65               <h2>Heading</h2>
       
    66               <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
       
    67               <p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p>
       
    68             </div><!--/span-->
       
    69             <div class="col-6 col-sm-6 col-lg-4">
       
    70               <h2>Heading</h2>
       
    71               <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
       
    72               <p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p>
       
    73             </div><!--/span-->
       
    74             <div class="col-6 col-sm-6 col-lg-4">
       
    75               <h2>Heading</h2>
       
    76               <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
       
    77               <p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p>
       
    78             </div><!--/span-->
       
    79             <div class="col-6 col-sm-6 col-lg-4">
       
    80               <h2>Heading</h2>
       
    81               <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
       
    82               <p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p>
       
    83             </div><!--/span-->
       
    84             <div class="col-6 col-sm-6 col-lg-4">
       
    85               <h2>Heading</h2>
       
    86               <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
       
    87               <p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p>
       
    88             </div><!--/span-->
       
    89             <div class="col-6 col-sm-6 col-lg-4">
       
    90               <h2>Heading</h2>
       
    91               <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
       
    92               <p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p>
       
    93             </div><!--/span-->
       
    94           </div><!--/row-->
       
    95         </div><!--/span-->
       
    96 
       
    97         <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar" role="navigation">
       
    98           <div class="list-group">
       
    99             <a href="#" class="list-group-item active">Link</a>
       
   100             <a href="#" class="list-group-item">Link</a>
       
   101             <a href="#" class="list-group-item">Link</a>
       
   102             <a href="#" class="list-group-item">Link</a>
       
   103             <a href="#" class="list-group-item">Link</a>
       
   104             <a href="#" class="list-group-item">Link</a>
       
   105             <a href="#" class="list-group-item">Link</a>
       
   106             <a href="#" class="list-group-item">Link</a>
       
   107             <a href="#" class="list-group-item">Link</a>
       
   108             <a href="#" class="list-group-item">Link</a>
       
   109           </div>
       
   110         </div><!--/span-->
       
   111       </div><!--/row-->
       
   112 
       
   113       <hr>
       
   114 
       
   115       <footer>
       
   116         <p>&copy; Company 2013</p>
       
   117       </footer>
       
   118 
       
   119     </div><!--/.container-->
       
   120 
       
   121 
       
   122 
       
   123     <!-- Bootstrap core JavaScript
       
   124     ================================================== -->
       
   125     <!-- Placed at the end of the document so the pages load faster -->
       
   126     <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
       
   127     <script src="../../dist/js/bootstrap.min.js"></script>
       
   128     <script src="offcanvas.js"></script>
       
   129   </body>
       
   130 </html>
       
Impressum Datenschutzerklärung