"carousel"
Bootstrap 3.0.0 Snippet by mehedidb

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html> <html> <head> <meta charset='UTF-8'> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.3.1/css/swiper.min.css'> <script src='https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.3.1/js/swiper.min.js'></script> </head> <body> <div class="swiper-container"> <div class="swiper-wrapper"> <div class="swiper-slide"><img src="https://placehold.it/666x666" /></div> <div class="swiper-slide"><img src="https://placehold.it/666x666" /></div> <div class="swiper-slide"><img src="https://placehold.it/666x666" /></div> <div class="swiper-slide"><img src="https://placehold.it/666x666" /></div> <div class="swiper-slide"><img src="https://placehold.it/666x666" /></div> <div class="swiper-slide"><img src="https://placehold.it/666x666" /></div> <div class="swiper-slide"><img src="https://placehold.it/666x666" /></div> <div class="swiper-slide"><img src="https://placehold.it/666x666" /></div> <div class="swiper-slide"><img src="https://placehold.it/666x666" /></div> <div class="swiper-slide"><img src="https://placehold.it/666x666" /></div> </div> <!-- Add Pagination --> <div class="swiper-pagination"></div> </div> </body> </html>
img { max-height: 100% } .swiper-container { width: 100%; height: 600px; } .swiper-slide { text-align: center; font-size: 18px; background: #fff; /* Center slide text vertically */ display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; /*width:90%;*/ }
jQuery(document).ready(function(){ (function($){ var swiper = new Swiper('.swiper-container', { pagination: '.swiper-pagination', effect: 'coverflow', speed:1000, grabCursor: true, centeredSlides: true, spaceBetween: 0, mousewheelControl: true, loop: true, autoplay: 2500, autoplayDisableOnInteraction: false, slidesPerView: 2, centeredSlides:true, coverflow: { rotate: 30, stretch: 0, depth: 50, modifier: 1, slideShadows : false }, breakpoints: { 1199: { spaceBetween: 60 }, 960: { spaceBetween: 30 }, 767: { spaceBetween: 15 } }, }); })(jQuery); })

Related: See More


Questions / Comments: