Created
June 18, 2016 23:04
-
-
Save bonjmartn/7f72c52904cad68e20950821311d0a1d to your computer and use it in GitHub Desktop.
Basic Bootstrap Carousel HTML
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Carousel | |
================================================== --> | |
<div id="myCarousel" class="carousel slide" data-ride="carousel"> | |
<!-- Indicators --> | |
<ol class="carousel-indicators"> | |
<li data-target="#myCarousel" data-slide-to="0" class="active"></li> | |
<li data-target="#myCarousel" data-slide-to="1"></li> | |
<li data-target="#myCarousel" data-slide-to="2"></li> | |
</ol> | |
<div class="carousel-inner" role="listbox"> | |
<div class="item active"> | |
<img class="first-slide" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="First slide"> | |
<div class="container"> | |
<div class="carousel-caption"> | |
<h1>Example headline.</h1> | |
<p>Note: If you're viewing this page via a <code>file://</code> URL, the "next" and "previous" Glyphicon buttons on the left and right might not load/display properly due to web browser security rules.</p> | |
<p><a class="btn btn-lg btn-primary" href="#" role="button">Sign up today</a></p> | |
</div> | |
</div> | |
</div> | |
<div class="item"> | |
<img class="second-slide" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="Second slide"> | |
<div class="container"> | |
<div class="carousel-caption"> | |
<h1>Another example headline.</h1> | |
<p>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> | |
<p><a class="btn btn-lg btn-primary" href="#" role="button">Learn more</a></p> | |
</div> | |
</div> | |
</div> | |
<div class="item"> | |
<img class="third-slide" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="Third slide"> | |
<div class="container"> | |
<div class="carousel-caption"> | |
<h1>One more for good measure.</h1> | |
<p>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> | |
<p><a class="btn btn-lg btn-primary" href="#" role="button">Browse gallery</a></p> | |
</div> | |
</div> | |
</div> | |
</div> | |
<a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev"> | |
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> | |
<span class="sr-only">Previous</span> | |
</a> | |
<a class="right carousel-control" href="#myCarousel" role="button" data-slide="next"> | |
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> | |
<span class="sr-only">Next</span> | |
</a> | |
</div><!-- /.carousel --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment