"carousel with indicators by lavan"
Bootstrap 3.0.0 Snippet by lavan

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="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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">
<div id="myCarouselbanner" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#myCarouselbanner" data-slide-to="0" class=""></li>
<li data-target="#myCarouselbanner" data-slide-to="1" class=""></li>
<li data-target="#myCarouselbanner" data-slide-to="2" class="active"></li>
<li data-target="#myCarouselbanner" data-slide-to="3"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item">
<img src="https://ik.imagekit.io/bfrs/tr:w-1349,h-400,pr-true,cm-pad_resize,bg-FFFFFF/image_shibz/data/Ab-Milega-Kuch-Apna_4.jpg" width="100%" class="img-responsive" alt="Chania">
</div>
<div class="item">
<img src="https://ik.imagekit.io/bfrs/tr:w-1349,h-400,pr-true,cm-pad_resize,bg-FFFFFF/image_shibz/data/Ab-Milega-Kuch-Apna_4.jpg" width="100%" class="img-responsive" alt="Chania">
</div>
<div class="item active">
<img src="https://ik.imagekit.io/bfrs/tr:w-1349,h-400,pr-true,cm-pad_resize,bg-FFFFFF/image_shibz/data/Ab-Milega-Kuch-Apna_4.jpg" width="100%" class="img-responsive" alt="Flower">
</div>
<div class="item">
<img src="https://ik.imagekit.io/bfrs/tr:w-1349,h-400,pr-true,cm-pad_resize,bg-FFFFFF/image_shibz/data/Ab-Milega-Kuch-Apna_4.jpg" width="100%" class="img-responsive" alt="Flower">
</div>
</div>
<!-- Left and right controls -->
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
.left.carousel-control {
right: 30px;
left: 0px;
top: 45%;
background: none;
}
.carousel-control {
width: 30px;
height: 30px;
top: -35px;
}
.left.carousel-control {
right: 30px;
left: inherit;
}
.carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right {
font-size: 16px;
background-color: #c91a29;
line-height: 30px;
text-shadow: none;
height: 40px;
padding: 5px;
width: 40px;
border-radius: 50px;
color: #fff;
border: 1px solid #c91a29;
}
.left.carousel-control {
right: 30px;
left: 0px;
top: 45%;
background: none;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments:

Carousel with indicators

lavan () - 6 years ago - Reply 0