mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-10 22:24:19 +01:00
325748ff68
Conflicts: _config.yml dist/css/bootstrap-theme.css dist/css/bootstrap-theme.css.map dist/css/bootstrap-theme.min.css dist/css/bootstrap.css dist/css/bootstrap.css.map dist/css/bootstrap.min.css dist/js/bootstrap.min.js docs/_includes/components/thumbnails.html docs/_includes/css/forms.html docs/_includes/css/grid.html docs/_includes/customizer-variables.html docs/_includes/footer.html docs/_includes/getting-started/download.html docs/_includes/getting-started/template.html docs/_includes/js/overview.html docs/_includes/js/popovers.html docs/_includes/js/tooltips.html docs/assets/css/docs.min.css docs/assets/js/customize.min.js docs/assets/js/raw-files.min.js docs/assets/js/src/customizer.js docs/dist/css/bootstrap-theme.css docs/dist/css/bootstrap-theme.css.map docs/dist/css/bootstrap-theme.min.css docs/dist/css/bootstrap.css docs/dist/css/bootstrap.css.map docs/dist/css/bootstrap.min.css docs/dist/js/bootstrap.js docs/dist/js/bootstrap.min.js docs/examples/navbar-fixed-top/index.html docs/examples/navbar-static-top/index.html docs/examples/non-responsive/index.html docs/examples/theme/index.html grunt/configBridge.json less/alerts.less less/badges.less less/jumbotron.less less/panels.less less/tables.less less/theme.less less/variables.less package.json scss/_button-group.scss scss/_buttons.scss scss/_forms.scss
124 lines
6.1 KiB
HTML
124 lines
6.1 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">
|
|
<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="#">Project name</a>
|
|
</div>
|
|
<div id="navbar" 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 -->
|
|
</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="#" 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="#" 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="#" 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="#" 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="#" 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="#" 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="#" 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 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.2/jquery.min.js"></script>
|
|
<script src="../../dist/js/bootstrap.min.js"></script>
|
|
<script src="offcanvas.js"></script>
|
|
</body>
|
|
</html>
|