<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>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Swiper demo</title>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
<link rel="stylesheet" href="https://unpkg.com/swiper/css/swiper.min.css">
</head>
<body>
<div class="swiper-container" dir="rtl">
<div class="swiper-wrapper">
<div class="swiper-slide"><img src="http://inn.spb.ru/images/400/DSC100419761.jpg"><div class="slide-content">Slide 1</div></div>
<div class="swiper-slide"><img src="http://inn.spb.ru/images/400/DSC100419761.jpg"><div class="slide-content">Slide 2</div></div>
<div class="swiper-slide"><img src="http://inn.spb.ru/images/400/DSC100419761.jpg"><div class="slide-content">Slide 3</div></div>
<div class="swiper-slide"><img src="http://inn.spb.ru/images/400/DSC100419761.jpg"><div class="slide-content">Slide 4</div></div>
</div>
<div class="swiper-pagination"></div>
<div class="swiper-button-prev"></div>
<div class="swiper-button-next"></div>
</div>
<script src="https://unpkg.com/swiper/js/swiper.min.js"></script>
<script>
var swiper = new Swiper('.swiper-container', {
loop: true,