"Bootstrap 4 responsive slider"
Bootstrap 4.1.1 Snippet by boakye

<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> </div> <div class="carousel-item"><img class="img-fluid w-100 d-block" src="/slider-2/fw_al_007_02.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> <div><a class="carousel-control-prev" href="#carousel-1" role="button" data-slide="prev"><span class="carousel-control-prev-icon"><i class="la la-cutlery"></i></span><span class="sr-only">Previous</span></a><a class="carousel-control-next" href="#carousel-1" role="button" data-slide="next"><span class="carousel-control-next-icon"><i class="la la-cutlery"></i></span><span class="sr-only">Next</span></a></div> <ol class="carousel-indicators"> <li data-target="#carousel-1" data-slide-to="0" class="active"></li> <li data-target="#carousel-1" data-slide-to="1"></li> <li data-target="#carousel-1" data-slide-to="2"></li> <li data-target="#carousel-1" data-slide-to="3"></li> <li data-target="#carousel-1" data-slide-to="4"></li> </ol> </div> <script id="bs-live-reload" data-sseport="4859" data-lastchange="1530918619334" src="/js/livereload.js"></script> </body> </html>
.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; } .la { opacity:99; z-index:1; position:relative; } .carousel-indicators li { background:#000; color:#000; height:30px; width:30px; margin:5px !important; border-radius:100%; } .carousel-caption { top:220px; } @media (min-width: 992px) { .carousel-caption { top:220px !important; } } .carousel-caption h3 { font-size:70px; text-align:center; font-weight:bold; } @media (min-width: 992px) { .carousel-caption h3 { font-size:70px !important; text-align:center; font-weight:bold; } } .carousel-caption p { font-size:30px; margin-top:20px; text-align:center; } @media (min-width: 992px) { .carousel-caption p { font-size:30px !important; margin-top:20px; text-align:center; } } .carousel-caption .btn { border:2px solid #fff; border-radius:0; } @media (min-width: 300px) { .img-fluid.w-100.d-block { height:auto; } } @media (min-width: 576px) { .img-fluid.w-100.d-block { height:auto; } } @media (min-width: 768px) { .img-fluid.w-100.d-block { height:auto; } } @media (min-width: 992px) { .img-fluid.w-100.d-block { height:100vh; } } @media (min-width: 300px) { .carousel-caption { top:0; font-size:20px; } } @media (min-width: 300px) { .carousel-caption h3 { font-size:20px; } } .carousel-caption p { font-size:15px; } @media (min-width: 768px) { .carousel-caption { top:100px; } } @media (min-width: 768px) { .carousel-caption h3 { font-size:40px; } }

Related: See More


Questions / Comments: