mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
131 lines
6.5 KiB
HTML
131 lines
6.5 KiB
HTML
<!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.0">
|
|
<meta name="description" content="">
|
|
<meta name="author" content="">
|
|
<link rel="shortcut icon" href="../../docs-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">
|
|
|
|
<!-- Just for debugging purposes. Don't actually copy this line! -->
|
|
<!--[if lt IE 9]><script src="../../docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
|
|
|
|
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
|
<!--[if lt IE 9]>
|
|
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
|
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/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="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="#">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="https://code.jquery.com/jquery-1.10.2.min.js"></script>
|
|
<script src="../../dist/js/bootstrap.min.js"></script>
|
|
<script src="offcanvas.js"></script>
|
|
</body>
|
|
</html>
|