mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-12 00:08:59 +01:00
192 lines
7.9 KiB
HTML
192 lines
7.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Carousel Template · Bootstrap</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="">
|
|
<meta name="author" content="">
|
|
|
|
<!-- Le styles -->
|
|
<link href="../assets/css/bootstrap.css" rel="stylesheet">
|
|
<style type="text/css">
|
|
body {
|
|
padding-bottom: 40px;
|
|
}
|
|
|
|
.navbar-wrapper {
|
|
position: relative;
|
|
z-index: 10;
|
|
margin-top: 20px;
|
|
margin-bottom: -85px;
|
|
}
|
|
.carousel-custom {
|
|
margin-bottom: 40px;
|
|
}
|
|
.carousel-custom .container {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
}
|
|
.carousel-custom .carousel-caption {
|
|
background-color: transparent;
|
|
position: static;
|
|
max-width: 50%;
|
|
padding: 0;
|
|
margin-bottom: 60px;
|
|
}
|
|
.carousel-custom .carousel-caption h1,
|
|
.carousel-custom .carousel-caption .lead {
|
|
margin: 0;
|
|
line-height: 1.25;
|
|
color: #fff;
|
|
text-shadow: 0 1px 3px rgba(0,0,0,.4);
|
|
}
|
|
</style>
|
|
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
|
|
|
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
<!--[if lt IE 9]>
|
|
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
<![endif]-->
|
|
|
|
<!-- Fav and touch icons -->
|
|
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
|
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
|
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
|
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
|
|
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="container navbar-wrapper">
|
|
<div class="navbar navbar-inverse">
|
|
<div class="navbar-inner">
|
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</a>
|
|
<a class="brand" href="#">Project name</a>
|
|
<div class="nav-collapse collapse">
|
|
<ul class="nav">
|
|
<li class="active"><a href="#">Home</a></li>
|
|
<li><a href="#about">About</a></li>
|
|
<li><a href="#contact">Contact</a></li>
|
|
<li class="dropdown">
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="#">Action</a></li>
|
|
<li><a href="#">Another action</a></li>
|
|
<li><a href="#">Something else here</a></li>
|
|
<li class="divider"></li>
|
|
<li class="nav-header">Nav header</li>
|
|
<li><a href="#">Separated link</a></li>
|
|
<li><a href="#">One more separated link</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div><!--/.nav-collapse -->
|
|
</div>
|
|
</div>
|
|
</div><!-- /.container -->
|
|
|
|
|
|
<!-- Carousel -->
|
|
<div id="myCarousel" class="carousel slide carousel-custom">
|
|
<div class="carousel-inner">
|
|
<div class="item active">
|
|
<img src="http://placehold.it/2000x700" alt="">
|
|
<div class="container">
|
|
<div class="carousel-caption">
|
|
<h1>First Thumbnail label</h1>
|
|
<p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="item">
|
|
<img src="http://placehold.it/2000x700" alt="">
|
|
<div class="container">
|
|
<div class="carousel-caption">
|
|
<h1>Second Thumbnail label</h1>
|
|
<p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="item">
|
|
<img src="http://placehold.it/2000x700" alt="">
|
|
<div class="container">
|
|
<div class="carousel-caption">
|
|
<h1>Third Thumbnail label</h1>
|
|
<p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a class="left carousel-control" href="#myCarousel" data-slide="prev">‹</a>
|
|
<a class="right carousel-control" href="#myCarousel" data-slide="next">›</a>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
<!-- Example row of columns -->
|
|
<div class="row">
|
|
<div class="span4">
|
|
<img src="http://placehold.it/370x200">
|
|
<h2>Heading</h2>
|
|
<p>Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod. Nullam id dolor id nibh ultricies vehicula ut id elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.</p>
|
|
<p><a class="btn" href="#">View details »</a></p>
|
|
</div>
|
|
<div class="span4">
|
|
<img src="http://placehold.it/370x200">
|
|
<h2>Heading</h2>
|
|
<p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.</p>
|
|
<p><a class="btn" href="#">View details »</a></p>
|
|
</div>
|
|
<div class="span4">
|
|
<img src="http://placehold.it/370x200">
|
|
<h2>Heading</h2>
|
|
<p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Cras mattis consectetur purus sit amet fermentum.</p>
|
|
<p><a class="btn" href="#">View details »</a></p>
|
|
</div>
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
<footer>
|
|
<p>© Company 2012</p>
|
|
</footer>
|
|
|
|
</div> <!-- /container -->
|
|
|
|
<!-- Le javascript
|
|
================================================== -->
|
|
<!-- Placed at the end of the document so the pages load faster -->
|
|
<script src="../assets/js/jquery.js"></script>
|
|
<script src="../assets/js/bootstrap-transition.js"></script>
|
|
<script src="../assets/js/bootstrap-alert.js"></script>
|
|
<script src="../assets/js/bootstrap-modal.js"></script>
|
|
<script src="../assets/js/bootstrap-dropdown.js"></script>
|
|
<script src="../assets/js/bootstrap-scrollspy.js"></script>
|
|
<script src="../assets/js/bootstrap-tab.js"></script>
|
|
<script src="../assets/js/bootstrap-tooltip.js"></script>
|
|
<script src="../assets/js/bootstrap-popover.js"></script>
|
|
<script src="../assets/js/bootstrap-button.js"></script>
|
|
<script src="../assets/js/bootstrap-collapse.js"></script>
|
|
<script src="../assets/js/bootstrap-carousel.js"></script>
|
|
<script src="../assets/js/bootstrap-typeahead.js"></script>
|
|
<script>
|
|
!function ($) {
|
|
$(function(){
|
|
// carousel demo
|
|
$('#myCarousel').carousel()
|
|
})
|
|
}(window.jQuery)
|
|
</script>
|
|
</body>
|
|
</html>
|