Skip to content

Instantly share code, notes, and snippets.

@wcodex
Created January 30, 2014 18:13
Show Gist options
  • Save wcodex/8715048 to your computer and use it in GitHub Desktop.
Save wcodex/8715048 to your computer and use it in GitHub Desktop.
Implement or create slider using Twitter Bootstrap
<div class="container">
<h1>Carousel in web page using Bootstrap</h1>
<div class="carousel" id="sample-carousel">
<div class="carousel-inner">
<div class="item active"><img alt="" src="http://lorempixel.com/1200/600" />
<div class="caurosel-caption">
<h4>How are you?</h4>
This is my sample carousel using Bootstrap</div>
</div>
<div class="item"><img alt="" src="http://lorempixel.com/1200/600/car" /></div>
<div class="item"><img alt="" src="http://lorempixel.com/1200/600/people" /></div>
</div>
<a class="carousel-control left" href="#sample-carousel" data-slide="prev">‹</a>
<a class="carousel-control right" href="#sample-carousel" data-slide="next">›</a></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment