-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (41 loc) · 2.54 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Witcher</title>
<!-- https://webdesign-master.ru/blog/html-css/horizontal-parallax-scrolling.html -->
<link rel="stylesheet" href="libs/swiper/swiper-bundle.min.css">
<script src="libs/swiper/swiper-bundle.min.js" defer></script>
<script src="libs/particles/particles.js" defer></script>
<link rel="stylesheet" href="css/main.css">
<script src="js/app.js" defer></script>
</head>
<body>
<div class="swiper slider">
<div class="swiper-wrapper slider__wrapper">
<div class="swiper-slide slider__item">
<div class="slider__layer" data-swiper-parallax="35%" style="background-image: url(img/screen-1/layer-back.jpg);"></div>
<div class="slider__layer" data-swiper-parallax="25%" style="background-image: url(img/screen-1/layer-middle.png);"></div>
<canvas class="particles slider__layer" data-color="#B99970" data-swiper-parallax="18%"></canvas>
<div class="slider__layer" data-swiper-parallax="14%" style="background-image: url(img/screen-1/layer-front.png);"></div>
</div>
<div class="swiper-slide slider__item">
<div class="slider__layer" data-swiper-parallax="40%" style="background-image: url(img/screen-2/layer-back.jpg);"></div>
<div class="slider__layer" data-swiper-parallax="34%" style="background-image: url(img/screen-2/layer-gera.png);"></div>
<div class="slider__layer" data-swiper-parallax="30%" style="background-image: url(img/screen-2/layer-yen.png);"></div>
<canvas class="particles slider__layer" data-color="#525A6D" data-swiper-parallax="20%"></canvas>
<div class="slider__layer" data-swiper-parallax="14%" style="background-image: url(img/screen-2/layer-front.png);"></div>
</div>
<div class="swiper-slide slider__item">
<div class="slider__layer" data-swiper-parallax="48%" style="background-image: url(img/screen-3/layer-back.jpg);"></div>
<div class="slider__layer" data-swiper-parallax="35%" style="background-image: url(img/screen-3/layer-middle.png);"></div>
<div class="slider__layer" data-swiper-parallax="25%" style="background-image: url(img/screen-3/layer-ciri.png);"></div>
<canvas class="particles slider__layer" data-color="#938086" data-swiper-parallax="25%"></canvas>
<div class="slider__layer" data-swiper-parallax="16%" style="background-image: url(img/screen-3/layer-front.png);"></div>
</div>
</div>
</div>
</body>
</html>