<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Swiper demo</title>
<link rel="stylesheet" href="index.css">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
<!-- Link Swiper's CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.css" />
<!-- Demo styles -->
<style>
</style>
</head>
<body>
<div class="main">
<!-- Swiper -->
<div thumbsSlider="" class="swiper mySwiper">
<div class="swiper-wrapper swiper-wrapper1">
<div class="swiper-slide">
<img src="img-1.jpeg" />
</div>
<div class="swiper-slide">
<img src="img-2.jpeg" />
</div>
<div class="swiper-slide">
<img src="img-3.jpeg" />
</div>
<div class="swiper-slide">
<img src="img-4.jpeg" />
</div>
<div class="swiper-slide">
<img src="img-5.jpeg" />
</div>
<div class="swiper-slide">
<img src="img-6.jpeg" />
</div>
<div class="swiper-slide">
<img src="img-7.jpeg" />
</div>
</div>
</div>
<div style="--swiper-navigation-color: #fff; --swiper-pagination-color: #fff" class="swiper mySwiper2">
<div class="swiper-wrapper">
<div class="swiper-slide box1 box">
<img src="logo.png">
<h1>THE HERO CAMP</h1>
<button class="btn1">18+</button>
<button class="btn2">3 Seasons</button>
<button class="btn2">2020</button>
<img src="tab.png" class="tag">
<span class="span">#2 in Series Today</span>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting
industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.
</p>
<button class="btn3"><ion-icon name="play"></ion-icon>PLAY NOW</button>
<p style="margin-top: 20px;"><span>Starring:</span>Wagner Moura, Boyd Holbrook, Joanna</p>
<p><span>Genres:</span>Crime, Action, Thriller, Biography</p>
<p><span>This Is:</span>Violent, Forceful</p>
</div>
<div class="swiper-slide box2 box">
<img src="logo.png">
<h1>THE HERO CAMP</h1>
<button class="btn1">18+</button>
<button class="btn2">3 Seasons</button>
<button class="btn2">2020</button>
<img src="tab.png" class="tag">
<span class="span">#2 in Series Today</span>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting
industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.
</p>
<button class="btn3"><ion-icon name="play"></ion-icon>PLAY NOW</button>
<p style="margin-top: 20px;"><span>Starring:</span>Wagner Moura, Boyd Holbrook, Joanna</p>
<p><span>Genres:</span>Crime, Action, Thriller,Biography</p>
<p><span>This Is:</span>Violent, Forceful</p>
</div>
<div class="swiper-slide box3 box">
<img src="logo.png">
<h1>THE HERO CAMP</h1>
<button class="btn1">18+</button>
<button class="btn2">3 Seasons</button>
<button class="btn2">2020</button>
<img src="tab.png" class="tag">
<span class="span">#2 in Series Today</span>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting
industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.
</p>
<button class="btn3"><ion-icon name="play"></ion-icon>PLAY NOW</button>
<p style="margin-top: 20px;"><span>Starring:</span>Wagner Moura, Boyd Holbrook, Joanna</p>
<p><span>Genres:</span>Crime, Action, Thriller,Biography</p>
<p><span>This Is:</span>Violent, Forceful</p>
</div>
<div class="swiper-slide box4 box">
<img src="logo.png">
<h1>THE HERO CAMP</h1>
<button class="btn1">18+</button>
<button class="btn2">3 Seasons</button>
<button class="btn2">2020</button>
<img src="tab.png" class="tag">
<span class="span">#2 in Series Today</span>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting
industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.
</p>
<button class="btn3"><ion-icon name="play"></ion-icon>PLAY NOW</button>
<p style="margin-top: 20px;"><span>Starring:</span>Wagner Moura, Boyd Holbrook, Joanna</p>
<p><span>Genres:</span>Crime, Action, Thriller,Biography</p>
<p><span>This Is:</span>Violent, Forceful</p>
</div>
<div class="swiper-slide box5 box">
<img src="logo.png">
<h1>THE HERO CAMP</h1>
<button class="btn1">18+</button>
<button class="btn2">3 Seasons</button>
<button class="btn2">2020</button>
<img src="tab.png" class="tag">
<span class="span">#2 in Series Today</span>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting
industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.
</p>
<button class="btn3"><ion-icon name="play"></ion-icon>PLAY NOW</button>
<p style="margin-top: 20px;"><span>Starring:</span>Wagner Moura, Boyd Holbrook, Joanna</p>
<p><span>Genres:</span>Crime, Action, Thriller,Biography</p>
<p><span>This Is:</span>Violent, Forceful</p>
</div>
<div class="swiper-slide box6 box">
<img src="logo.png">
<h1>THE HERO CAMP</h1>
<button class="btn1">18+</button>
<button class="btn2">3 Seasons</button>
<button class="btn2">2020</button>
<img src="tab.png" class="tag">
<span class="span">#2 in Series Today</span>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting
industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.
</p>
<button class="btn3"><ion-icon name="play"></ion-icon>PLAY NOW</button>
<p style="margin-top: 20px;"><span>Starring:</span>Wagner Moura, Boyd Holbrook, Joanna</p>
<p><span>Genres:</span>Crime, Action, Thriller,Biography</p>
<p><span>This Is:</span>Violent, Forceful</p>
</div>
<div class="swiper-slide box7 box">
<img src="logo.png">
<h1>THE HERO CAMP</h1>
<button class="btn1">18+</button>
<button class="btn2">3 Seasons</button>
<button class="btn2">2020</button>
<img src="tab.png" class="tag">
<span class="span">#2 in Series Today</span>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting
industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.
</p>
<button class="btn3"><ion-icon name="play"></ion-icon>PLAY NOW</button>
<p style="margin-top: 20px;"><span>Starring:</span>Wagner Moura, Boyd Holbrook, Joanna</p>
<p><span>Genres:</span>Crime, Action, Thriller,Biography</p>
<p><span>This Is:</span>Violent, Forceful</p>
</div>
</div>
<div class="swiper-button-next"></div>
<div class="swiper-button-prev"></div>
</div>
</div>
<script type="module" src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.js"></script>
<!-- Swiper JS -->
<script src="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.js"></script>
<!-- Initialize Swiper -->
<script>
var swiper = new Swiper(".mySwiper", {
loop: true,
spaceBetween: 7,
slidesPerView: 4,
freeMode: true,
watchSlidesProgress: true,
autoplay: {
delay: 2500,
disableOnInteraction: false
},
});
var swiper2 = new Swiper(".mySwiper2", {
loop: true,
effect: "fade",
spaceBetween: 7,
navigation: {
nextEl: ".swiper-button-next",
prevEl: ".swiper-button-prev",
},
thumbs: {
swiper: swiper,
},
autoplay: {
delay: 2500,
disableOnInteraction: false
},
});
</script>
</body>
</html>
Comments
Post a Comment