"Slick slider responsive"
Bootstrap 4.1.1 Snippet by imsachin

<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 ----------> <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 lang="en"> <head> <title>HTML</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700" rel="stylesheet"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <!--[if IE]> <link href="~/Content/NewHomePage/all-ie-only.css" rel="stylesheet" /> <![endif]--> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <!--include two cdn for slick slider--> <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.css" /> <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick-theme.min.css" /> <link rel="stylesheet" href="style.css"> </head> <body> <!--slick slider--> <div class="container"> <div class="col-sm-4"></div> <div class="col-sm-8"> <div class="multiple-items"> <div> <div class="card"> <img src="https://images.theconversation.com/files/393210/original/file-20210401-13-z6rl6z.jpg?ixlib=rb-1.1.0&rect=0%2C292%2C3008%2C1504&q=45&auto=format&w=1356&h=668&fit=crop" alt="image" class="w-100 d-block" /> <div class="card-body"> <h4>Science</h4> <p>Lorem Ipsum is simply dummy text of the printing.</p> <p class="text-muted">Started at 15 Nov 2021</p> </div> </div> </div> <div> <div class="card"> <img src="https://images.theconversation.com/files/393210/original/file-20210401-13-z6rl6z.jpg?ixlib=rb-1.1.0&rect=0%2C292%2C3008%2C1504&q=45&auto=format&w=1356&h=668&fit=crop" alt="image" class="w-100 d-block" /> <div class="card-body"> <h4>Science</h4> <p>Lorem Ipsum is simply dummy text of the printing.</p> <p class="text-muted">Started at 15 Nov 2021</p> </div> </div> </div> <div> <div class="card"> <img src="https://images.theconversation.com/files/393210/original/file-20210401-13-z6rl6z.jpg?ixlib=rb-1.1.0&rect=0%2C292%2C3008%2C1504&q=45&auto=format&w=1356&h=668&fit=crop" alt="image" class="w-100 d-block" /> <div class="card-body"> <h4>Science</h4> <p>Lorem Ipsum is simply dummy text of the printing.</p> <p class="text-muted">Started at 15 Nov 2021</p> </div> </div> </div> <div> <div class="card"> <img src="https://images.theconversation.com/files/393210/original/file-20210401-13-z6rl6z.jpg?ixlib=rb-1.1.0&rect=0%2C292%2C3008%2C1504&q=45&auto=format&w=1356&h=668&fit=crop" alt="image" class="w-100 d-block" /> <div class="card-body"> <h4>Science</h4> <p>Lorem Ipsum is simply dummy text of the printing.</p> <p class="text-muted">Started at 15 Nov 2021</p> </div> </div> </div> </div> </div> </div> <!--slick slider--> <!--include this script for slick slider--> <script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.js"></script> <script> $('.multiple-items').slick({ infinite: true, slidesToShow: 3, slidesToScroll: 3, dots: true, speed: 300, arrows: true, prevArrow: '<i class="fa fa-arrow-left text-dark"></i>', nextArrow: '<i class="fa fa-arrow-right text-dark slick-arrow-right"></i>', responsive: [{ breakpoint: 1024, settings: { slidesToShow: 3, slidesToScroll: 3, infinite: true, dots: true, } }, { breakpoint: 600, settings: { slidesToShow: 2, slidesToScroll: 2 } }, { breakpoint: 480, settings: { slidesToShow: 1, slidesToScroll: 1 } } // You can unslick at a given breakpoint now by adding: // settings: "unslick" // instead of a settings object ] }); </script> </body> </html>
.slick-arrow-right { position: absolute; top: 3px; left: 30px; }

Related: See More


Questions / Comments: