"Carousel 4.1"
Bootstrap 4.1.1 Snippet by HIEUGB

<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 ----------> <div class="container"> <div class="row blog"> <div class="col-md-12"> <div id="blogCarousel" class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> <li data-target="#blogCarousel" data-slide-to="0" class="active"></li> <li data-target="#blogCarousel" data-slide-to="1"></li> <li data-target="#blogCarousel" data-slide-to="2"></li> </ol> <!-- Carousel items --> <div class="carousel-inner"> <div class="carousel-item active"> <div class="row"> <div class="col-md-3"> <a href="#"> <img src="https://hoinhacsi.vn/sites/default/files/default_images/avatar.png" alt="Image" style="max-width:100%;"> </a> </div> <div class="col-md-3"> <a href="#"> <img src="https://hoinhacsi.vn/sites/default/files/default_images/avatar.png" alt="Image" style="max-width:100%;"> </a> </div> <div class="col-md-3"> <a href="#"> <img src="https://hoinhacsi.vn/sites/default/files/default_images/avatar.png" alt="Image" style="max-width:100%;"> </a> </div> <div class="col-md-3"> <a href="#"> <img src="https://hoinhacsi.vn/sites/default/files/default_images/avatar.png" alt="Image" style="max-width:100%;"> </a> </div> </div> <!--.row--> </div> <!--.item--> <div class="carousel-item"> <div class="row"> <div class="col-md-3"> <a href="#"> <img src="https://i.pinimg.com/474x/39/0a/a6/390aa63a226fcd2293f086ad54df967f.jpg" alt="Image" style="max-width:100%;"> </a> </div> <div class="col-md-3"> <a href="#"> <img src="https://i.pinimg.com/474x/39/0a/a6/390aa63a226fcd2293f086ad54df967f.jpg" alt="Image" style="max-width:100%;"> </a> </div> <div class="col-md-3"> <a href="#"> <img src="https://i.pinimg.com/474x/39/0a/a6/390aa63a226fcd2293f086ad54df967f.jpg" alt="Image" style="max-width:100%;"> </a> </div> <div class="col-md-3"> <a href="#"> <img src="https://i.pinimg.com/474x/39/0a/a6/390aa63a226fcd2293f086ad54df967f.jpg" alt="Image" style="max-width:100%;"> </a> </div> </div> <!--.row--> </div> <!--.item--> <div class="carousel-item"> <div class="row"> <div class="col-md-3"> <a href="#"> <img src="https://i.pinimg.com/474x/52/76/9e/52769ed9e323ca7fef689a7151ef8e73.jpg" alt="Image" style="max-width:100%;"> </a> </div> <div class="col-md-3"> <a href="#"> <img src="https://i.pinimg.com/474x/52/76/9e/52769ed9e323ca7fef689a7151ef8e73.jpg" alt="Image" style="max-width:100%;"> </a> </div> <div class="col-md-3"> <a href="#"> <img src="https://i.pinimg.com/474x/52/76/9e/52769ed9e323ca7fef689a7151ef8e73.jpg" alt="Image" style="max-width:100%;"> </a> </div> <div class="col-md-3"> <a href="#"> <img src="https://i.pinimg.com/474x/52/76/9e/52769ed9e323ca7fef689a7151ef8e73.jpg" alt="Image" style="max-width:100%;"> </a> </div> </div> <!--.row--> </div> <!--.item--> </div> <!--.carousel-inner--> </div> <!--.Carousel--> </div> </div> </div>
.blog .carousel-indicators { left: 0; top: auto; bottom: -40px; } /* The colour of the indicators */ .blog .carousel-indicators li { background: #a3a3a3; border-radius: 50%; width: 8px; height: 8px; } .blog .carousel-indicators .active { background: #707070; }
// optional $('#blogCarousel').carousel({ loop:true, margin:10, dots:false, nav:true, autoplay:true, smartSpeed: 3000, autoplayTimeout:7000, interval: 5000 });

Related: See More


Questions / Comments: