Created
August 11, 2013 03:46
-
-
Save zzpaul/6203291 to your computer and use it in GitHub Desktop.
Bootstrap carousel
This file contains 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
<div id="carousel-example-generic" class="carousel slide"> | |
<!-- Indicators --> | |
<ol class="carousel-indicators"> | |
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li> | |
<li data-target="#carousel-example-generic" data-slide-to="1"></li> | |
<li data-target="#carousel-example-generic" data-slide-to="2"></li> | |
</ol> | |
<!-- Wrapper for slides --> | |
<div class="carousel-inner"> | |
<div class="item active"> | |
<img data-src="holder.js/1500x400/auto/#666:#444/text:First Image" alt=""> | |
</div> | |
<div class="item"> | |
<img data-src="holder.js/1500x400/auto/#666:#444/text:Second Image" alt=""> | |
</div> | |
<div class="item"> | |
<img data-src="holder.js/1500x400/auto/#555:#333/text:Third Image" alt=""> | |
</div> | |
</div> | |
<!-- Controls --> | |
<a class="left carousel-control" href="#carousel-example-generic" data-slide="prev"> | |
<span class="icon-prev"></span> | |
</a> | |
<a class="right carousel-control" href="#carousel-example-generic" data-slide="next"> | |
<span class="icon-next"></span> | |
</a> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment