"Simple Bootstrap Carousel with Text and Overlay"
Bootstrap 3.3.0 Snippet by NiravDabhi

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container">
<!-- Indicators -->
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="http://synicsys.com/wp-content/uploads/2014/08/seo-banner-bgd.jpg" alt="Chania">
<div class="carousel-caption">
<h3>Header of Slide 1</h3>
<p>Details of Slide 1. Lorem Ipsum Blah Blah Blah....</p>
</div>
</div>
<div class="item">
<img src="http://allpoints.ph/wp-content/uploads/2013/10/banner.jpg" alt="Chania">
<div class="carousel-caption">
<h3>Header of Slide 2</h3>
<p>Details of Slide 2. Lorem Ipsum Blah Blah Blah....</p>
</div>
</div>
<div class="item">
<img src="http://www.nimble-solution.com/images/slider/banner4.png" alt="Flower">
<div class="carousel-caption">
<h3>Header of Slide3</h3>
<p>Details of Slide 3. Lorem Ipsum Blah Blah Blah....</p>
</div>
</div>
</div>
<!-- Left and right controls -->
<a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
<span class="fa fa-angle-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.carousel-control.left
{
background: none;
}
.carousel-control.right
{
background: none;
}
.carousel-control
{
position: absolute;
top: 45%;
bottom: 0;
left: 0;
width: 15%;
font-size: auto;
color: #fff;
text-align: center;
opacity: 1;
text-shadow: none;
}
.carousel-control:hover
{
color: #000;
}
.carousel-indicators
{
bottom: -50px;
}
.carousel-indicators li
{
display: inline-block;
width: 10px;
height: 10px;
margin: 1px;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments:

How created slider?

mcruztejada () - 5 years ago - Reply 0


This does
not seem to be auto rotating in Firefox only when you manually click the
controls

Emma Thompson () - 7 years ago - Reply 0