123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
- <meta name="description" content="">
- <meta name="author" content="">
- <link rel="icon" href="../../favicon.ico">
- <title>Off Canvas Template for Bootstrap</title>
- <!-- Bootstrap core CSS -->
- <link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
- <!-- Custom styles for this template -->
- <link href="offcanvas.css" rel="stylesheet">
- <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
- <script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
- </head>
- <body>
- <nav class="navbar navbar-fixed-top navbar-inverse">
- <div class="container">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
- <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="javascript:;">Project name</a>
- </div>
- <div id="navbar" class="collapse navbar-collapse">
- <ul class="nav navbar-nav">
- <li class="active"><a href="javascript:;">Home</a></li>
- <li><a href="#about">About</a></li>
- <li><a href="#contact">Contact</a></li>
- </ul>
- </div><!-- /.nav-collapse -->
- </div><!-- /.container -->
- </nav><!-- /.navbar -->
- <div class="container">
- <div class="row row-offcanvas row-offcanvas-right">
- <div class="col-xs-12 col-sm-9">
- <p class="pull-right visible-xs">
- <button type="button" class="btn btn-primary btn-xs" data-toggle="offcanvas">Toggle nav</button>
- </p>
- <div class="jumbotron">
- <h1>Hello, world!</h1>
- <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>
- </div>
- <div class="row">
- <div class="col-xs-6 col-lg-4">
- <h2>Heading</h2>
- <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>
- <p><a class="btn btn-secondary" href="javascript:;" role="button">View details »</a></p>
- </div><!--/span-->
- <div class="col-xs-6 col-lg-4">
- <h2>Heading</h2>
- <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>
- <p><a class="btn btn-secondary" href="javascript:;" role="button">View details »</a></p>
- </div><!--/span-->
- <div class="col-xs-6 col-lg-4">
- <h2>Heading</h2>
- <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>
- <p><a class="btn btn-secondary" href="javascript:;" role="button">View details »</a></p>
- </div><!--/span-->
- <div class="col-xs-6 col-lg-4">
- <h2>Heading</h2>
- <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>
- <p><a class="btn btn-secondary" href="javascript:;" role="button">View details »</a></p>
- </div><!--/span-->
- <div class="col-xs-6 col-lg-4">
- <h2>Heading</h2>
- <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>
- <p><a class="btn btn-secondary" href="javascript:;" role="button">View details »</a></p>
- </div><!--/span-->
- <div class="col-xs-6 col-lg-4">
- <h2>Heading</h2>
- <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>
- <p><a class="btn btn-secondary" href="javascript:;" role="button">View details »</a></p>
- </div><!--/span-->
- </div><!--/row-->
- </div><!--/span-->
- <div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar">
- <div class="list-group">
- <a href="javascript:;" class="list-group-item active">Link</a>
- <a href="javascript:;" class="list-group-item">Link</a>
- <a href="javascript:;" class="list-group-item">Link</a>
- <a href="javascript:;" class="list-group-item">Link</a>
- <a href="javascript:;" class="list-group-item">Link</a>
- <a href="javascript:;" class="list-group-item">Link</a>
- <a href="javascript:;" class="list-group-item">Link</a>
- <a href="javascript:;" class="list-group-item">Link</a>
- <a href="javascript:;" class="list-group-item">Link</a>
- <a href="javascript:;" class="list-group-item">Link</a>
- </div>
- </div><!--/span-->
- </div><!--/row-->
- <hr>
- <footer>
- <p>© Company 2014</p>
- </footer>
- </div><!--/.container-->
- <!-- Bootstrap core JavaScript
- ================================================== -->
- <!-- Placed at the end of the document so the pages load faster -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
- <script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
- <script src="../../dist/js/bootstrap.min.js"></script>
- <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
- <script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
- <script src="offcanvas.js"></script>
- </body>
- </html>
|