"Bootstrap 4 responsive slider"
Bootstrap 4.1.1 Snippet by boakye

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/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BootstrapSlider1</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
</head>
<body>
<div class="carousel slide carousel-fade" data-ride="carousel" data-interval="3000" id="carousel-1">
<div class="carousel-inner" role="listbox">
<div class="carousel-item active"><img class="img-fluid w-100 d-block" src="http://i613.photobucket.com/albums/tt213/boakye51/fw_al_007_03_zpsfwzueotz.jpg" alt="Slide Image">
<div class="carousel-caption">
<h3 class="animated slideInDown">Perfect And Responsive</h3>
<p class="animated slideInLeft">incididunt ut labore et dolore magna aliqua.</p><button class="btn btn-outline-light btn-lg animated slideInUp" type="button">Read More</button></div>
</div>
<div class="carousel-item"><img class="img-fluid w-100 d-block" src="http://i613.photobucket.com/albums/tt213/boakye51/fw_al_007_02_zpswiid72da.jpghttp://i613.photobucket.com/albums/tt213/boakye51/fw_al_007_02_zpswiid72da.jpg" alt="Slide Image">
<div class="carousel-caption">
<h3 class="animated fadeInDown">Perfect And Responsive</h3>
<p class="animated slideInUp">incididunt ut labore et dolore magna aliqua.</p><button class="btn btn-outline-light btn-lg animated slideInLeft" type="button">Read More</button></div>
</div>
<div class="carousel-item"><img class="img-fluid w-100 d-block" src="/slider-2/fw_al_006_03.jpg" alt="Slide Image">
<div class="carousel-caption">
<h3 class="animated slideInDown">Perfect And Responsive</h3>
<p class="animated slideInLeft">incididunt ut labore et dolore magna aliqua.</p><button class="btn btn-outline-light btn-lg animated slideInUp" type="button">Read More</button></div>
</div>
<div class="carousel-item"><img class="img-fluid w-100 d-block" src="/slider-2/fw_al_006_01.jpg" alt="Slide Image">
<div class="carousel-caption">
<h3 class="animated slideInDown">Perfect And Responsive</h3>
<p class="animated slideInLeft">incididunt ut labore et dolore magna aliqua.</p><button class="btn btn-outline-light btn-lg animated slideInUp" type="button">Read More</button></div>
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-fade .carousel-item {
height:100%;
}
.carousel-fade .carousel-item img {
height:100vh;
width:100%;
max-width:100%;
background-size:cover;
background-origin:content-box;
background-clip:content-box;
background-position:center;
color:rgba(0,0,0,0.56);
filter:brightness(30%);
right:0;
left:0;
resize:both;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
background:none;
border:2px solid #fff;
height:60px;
width:60px;
line-height:55px;
opacity:9 !important;
filter:brightness(100%) !important;
font-size:40px;
border-radius:100%;
}
.carousel-control-prev-icon:hover, .carousel-control-next-icon:hover {
background:#fff;
opacity:9;
color:#000;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: