mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
125 lines
6.1 KiB
HTML
125 lines
6.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="">
|
|
<meta name="author" content="">
|
|
<link rel="shortcut icon" href="../../assets/ico/favicon.png">
|
|
|
|
<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">
|
|
|
|
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
|
<!--[if lt IE 9]>
|
|
<script src="../../assets/js/html5shiv.js"></script>
|
|
<script src="../../assets/js/respond.min.js"></script>
|
|
<![endif]-->
|
|
</head>
|
|
|
|
<body>
|
|
<div class="navbar navbar-fixed-top navbar-inverse" role="navigation">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a class="navbar-brand" href="#">Project name</a>
|
|
</div>
|
|
<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>
|
|
</ul>
|
|
</div><!-- /.nav-collapse -->
|
|
</div><!-- /.container -->
|
|
</div><!-- /.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-6 col-sm-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-default" href="#" role="button">View details »</a></p>
|
|
</div><!--/span-->
|
|
<div class="col-6 col-sm-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-default" href="#" role="button">View details »</a></p>
|
|
</div><!--/span-->
|
|
<div class="col-6 col-sm-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-default" href="#" role="button">View details »</a></p>
|
|
</div><!--/span-->
|
|
<div class="col-6 col-sm-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-default" href="#" role="button">View details »</a></p>
|
|
</div><!--/span-->
|
|
<div class="col-6 col-sm-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-default" href="#" role="button">View details »</a></p>
|
|
</div><!--/span-->
|
|
<div class="col-6 col-sm-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-default" href="#" role="button">View details »</a></p>
|
|
</div><!--/span-->
|
|
</div><!--/row-->
|
|
</div><!--/span-->
|
|
|
|
<div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar" role="navigation">
|
|
<div class="list-group">
|
|
<a href="#" class="list-group-item active">Link</a>
|
|
<a href="#" class="list-group-item">Link</a>
|
|
<a href="#" class="list-group-item">Link</a>
|
|
<a href="#" class="list-group-item">Link</a>
|
|
<a href="#" class="list-group-item">Link</a>
|
|
<a href="#" class="list-group-item">Link</a>
|
|
<a href="#" class="list-group-item">Link</a>
|
|
<a href="#" class="list-group-item">Link</a>
|
|
<a href="#" class="list-group-item">Link</a>
|
|
<a href="#" class="list-group-item">Link</a>
|
|
</div>
|
|
</div><!--/span-->
|
|
</div><!--/row-->
|
|
|
|
<hr>
|
|
|
|
<footer>
|
|
<p>© Company 2013</p>
|
|
</footer>
|
|
|
|
</div><!--/.container-->
|
|
|
|
|
|
|
|
<!-- Bootstrap core JavaScript
|
|
================================================== -->
|
|
<!-- Placed at the end of the document so the pages load faster -->
|
|
<script src="../../assets/js/jquery.js"></script>
|
|
<script src="../../dist/js/bootstrap.min.js"></script>
|
|
<script src="offcanvas.js"></script>
|
|
</body>
|
|
</html>
|