<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/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.2.2/css/swiper.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.2.2/js/swiper.min.js"></script>
<!-- Swiper -->
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide"><img src="http://icons.iconarchive.com/icons/unclebob/spanish-travel/128/bull-icon.png"></div>
<div class="swiper-slide"><img src="http://icons.iconarchive.com/icons/unclebob/spanish-travel/128/bull-icon.png"></div>
<div class="swiper-slide"><img src="http://icons.iconarchive.com/icons/unclebob/spanish-travel/128/bull-icon.png"></div>
<div class="swiper-slide"><img src="http://icons.iconarchive.com/icons/unclebob/spanish-travel/128/bull-icon.png"></div>
<div class="swiper-slide"><img src="http://icons.iconarchive.com/icons/unclebob/spanish-travel/128/bull-icon.png"></div>
<div class="swiper-slide"><img src="http://icons.iconarchive.com/icons/unclebob/spanish-travel/128/bull-icon.png"></div>
<div class="swiper-slide"><img src="http://icons.iconarchive.com/icons/unclebob/spanish-travel/128/bull-icon.png"></div>
</div>
<!-- Add Pagination -->
<div class="swiper-pagination"></div>
</div>
.swiper-container {
width: 100%;
height: 100%;
}
.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;
}
var swiper = new Swiper('.swiper-container', {
slidesPerView: 5,
spaceBetween: 50,
// init: false,
pagination: {
el: '.swiper-pagination',
clickable: true,
},
breakpoints: {
1024: {
slidesPerView: 4,
spaceBetween: 40,
},
768: {
slidesPerView: 3,
spaceBetween: 30,
},
640: {
slidesPerView: 2,
spaceBetween: 20,
},
320: {
slidesPerView: 1,
spaceBetween: 10,
}
}
});