"Multi item Carousel"
Bootstrap 4.0.0 Snippet by kiranm

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <br/> <section class="d-flex align-items-center"> <!-- staff slider --> <div class="carousel slide w-100" data-ride="carousel" data-interval="4000" id="staffCarousel"> <div class="carousel-inner"> <div class="carousel-item mt-0 flex-column flex-sm-row"> <div class="col-lg-2 col-md-3 col-sm-6 col-xs-2"> <div class=" h-100"> <div class="card-img-top card-img-top-200 card-zoom"> <div class="box"> <img src="//via.placeholder.com/600x400?text=1"> <div class="box-content"> <h3 class="title">Title goes here</h3> <ul class="icon"> <li><a href="#"><span><i class="fa fa-edit"></i></span></a></li> <li><a href="#"><span><i class="fa fa-trash"></i></span></a></li> </ul> </div> </div> </div> <div class="card-body text-center"> <h6 class="small text-wide pb-2">Title goes here</h6> </div> </div> </div> <div class="col-lg-2 col-md-3 col-sm-6 col-xs-2"> <div class=" h-100"> <div class="card-img-top card-img-top-200 card-zoom"> <div class="box"> <img src="//via.placeholder.com/400x300?text=2"> <div class="box-content"> <h3 class="title">Title goes here</h3> <ul class="icon"> <li><a href="#"><span><i class="fa fa-edit"></i></span></a></li> <li><a href="#"><span><i class="fa fa-trash"></i></span></a></li> </ul> </div> </div> </div> <div class="card-body text-center"> <h6 class="small text-wide pb-2">Title goes here</h6> </div> </div> </div> <div class="col-lg-2 col-md-3 col-sm-6 col-xs-2"> <div class=" h-100"> <div class="card-img-top card-img-top-200 card-zoom"> <div class="box"> <img src="//via.placeholder.com/600x400?text=3"> <div class="box-content"> <h3 class="title">Title goes here</h3> <ul class="icon"> <li><a href="#"><span><i class="fa fa-edit"></i></span></a></li> <li><a href="#"><span><i class="fa fa-trash"></i></span></a></li> </ul> </div> </div> </div> <div class="card-body text-center"> <h6 class="small text-wide pb-2">Title goes here</h6> </div> </div> </div> <div class="col-lg-2 col-md-3 col-sm-6 col-xs-2"> <div class=" h-100"> <div class="card-img-top card-img-top-200 card-zoom"> <div class="box"> <img src="http://via.placeholder.com/350x150"> <div class="box-content"> <h3 class="title">Title goes here</h3> <ul class="icon"> <li><a href="#"><span><i class="fa fa-edit"></i></span></a></li> <li><a href="#"><span><i class="fa fa-trash"></i></span></a></li> </ul> </div> </div> </div> <div class="card-body "> <h6 class="small text-center text-wide pb-2">Title goes here</h6> </div> </div> </div> </div> <div class="carousel-item mt-0 flex-column flex-sm-row active"> <div class="col-lg-2 col-md-3 col-sm-6 col-xs-2"> <div class=" h-100"> <div class="card-img-top card-img-top-200 card-zoom"> <div class="box"> <img src="http://via.placeholder.com/200x450"> <div class="box-content"> <h3 class="title">Title goes here</h3> <ul class="icon"> <li><a href="#"><span><i class="fa fa-edit"></i></span></a></li> <li><a href="#"><span><i class="fa fa-trash"></i></span></a></li> </ul> </div> </div> </div> <div class="card-body text-center"> <h6 class="small text-center text-wide pb-2">Title goes here</h6> </div> </div> </div> <div class="col-lg-2 col-md-3 col-sm-6 col-xs-2"> <div class=" h-100"> <div class="card-img-top card-img-top-200 card-zoom"> <div class="box"> <img src="http://via.placeholder.com/400x250"> <div class="box-content"> <h3 class="title">Title goes here</h3> <ul class="icon"> <li><a href="#"><span><i class="fa fa-edit"></i></span></a></li> <li><a href="#"><span><i class="fa fa-trash"></i></span></a></li> </ul> </div> </div> </div> <div class="card-body text-center"> <h6 class="small text-center text-wide pb-2">Title goes here</h6> </div> </div> </div> </div> </div> </div><!--/carousel slider--> <!-- /staff slider --> </section> </div>
.carousel-item.active.left > div:not(:first-child) { display:none; } .carousel-item.active.right > div:not(:first-child) { display:none; } .carousel-control { color:#333; } .carousel-control.left, .carousel-control.right {background-image:none;} .controls { margin-top: 20px; } [data-slide="prev"] { margin-right: 10px; } .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; } .section-data h2{ text-align: center; margin: 10px auto; font-size:1rem; } .box{ text-align: center; position: relative; height:200px; width:100%; background-color:#f0f0f0; margin-bottom:10px; border:1px solid #ddd; display: -ms-flexbox; display: -webkit-flex; display: flex; overflow:hidden; -ms-flex-align: center; -webkit-align-items: center; -webkit-box-align: center; align-items: center; } /*.box:before{ content: ""; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%); position: absolute; top: 0; left: 0; opacity: 0; transition: all 0.3s ease 0s; } .box:hover:before{ opacity: 1; }*/ .box img{ max-width: 100%; max-height: 100%; margin:0 auto; text-align:center;transition: all 0.5s ease 0s; } .box:hover img{ transform: scale(1.4); } .box .box-content{ width: 100%; height:100%; line-height:100%; vertical-align:middle; padding: 20px 0 30px; color: #fff; opacity: 0; position: absolute; bottom: 30%; left: 0; transition: all 0.3s ease 0s; background: rgba(0,0,0,0.8); } .box:hover .box-content{ opacity: 1; bottom: 0; } .box .box-content:before{ content: ""; width: 100px; height: 5px; background: #e16e14; margin: 0 auto; position: absolute; bottom: 0; left: 0; right: 0; transition: all 0.4s ease-in-out 0s; } .box:hover .box-content:before{ width: 100%; } .box .title{ font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin: 20% 0 20px 0; text-overflow:ellipsis; overflow:hidden; white-space: nowrap; } .box .post{ display: block; font-size: 13px; text-transform: capitalize; margin-bottom: 15px; } .box .icon{ padding: 0; margin: 0; list-style: none; cursor:pointer; } .box .icon li{ display: inline-block; } .box .icon li a{ display: block; width: 30px; height: 30px; line-height: 30px; font-size: 14px; color: #f9d9c0; margin-right: 11px; position: relative; /*transform: rotate(-45deg);*/ transition: all 0.4s ease-in-out; } .box .icon li a:hover{ background: #e16e14; color:#fff; } .box .icon li a span{ display: block; } .box .icon li a span i{ /*transform: rotate(45deg); */} .box .icon li a:before, .box .icon li a:after, .box .icon li a span:before, .box .icon li a span:after{ content: ""; display: block; width: 0; height: 0; background: #fff; position: absolute; top: 0; left: 0; transition: all 0.4s ease-in-out 0s; } .box .icon li a span:before{ left: auto; right: 0; } .box .icon li a span:after{ top: auto; bottom: 0; } .box .icon li:nth-child(2) a:before, .box .icon li:nth-child(2) a:after, .box .icon li:nth-child(2) a span:before, .box .icon li:nth-child(2) a span:after{ transition-delay: 0.2s; } .box:hover .icon li a:before, .box:hover .icon li a span:before{ width: 2px; height: 100%; } .box:hover .icon li a:after, .box:hover .icon li a span:after{ width: 100%; height: 2px; } .carousel-item *{ text-align:center; } .carousel-item h6{ color:#e16e14; font-weight:700; text-transform: uppercase; letter-spacing: 1px; width:100%; text-overflow:ellipsis; white-space:nowrap; overflow:hidden; } /*.box .icon{ padding: 0; margin: 0; list-style: none; } .box .icon li{ display: inline-block; } .box .icon li a{ display: block; width: 40px; height: 40px; line-height: 40px; background: #e16e14; font-size: 20px; color: #fff; margin-right: 10px; transition: all 0.3s ease 0s; border-radius:30px; } .box .icon li a:hover{ background: #f09854; } /*transform: rotateX(360deg); */ */@media only screen and (max-width:990px){ .box{ margin-bottom: 30px; } } .photo-box { margin: 0 auto; width: 100%; background-color: #fafafa; display: table; } .sm_caption .btn { border-color: #000; } .sm_caption .btn .fa, .panel-footer .btn .fa { margin: 0 auto; padding: 0 5px; text-align: center; } .sm_caption { z-index: 2; -webkit-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; -o-transition: all 0.5s ease-in-out; -ms-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out; } .photo-box img, .photo-box video { display: block; height:144px; } .photo-box img { margin: 3px auto; }
$("#staffCarousel,.MultiCarousel").carousel({ interval: false });

Related: See More


Questions / Comments: