-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
92 lines (87 loc) · 3.09 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Parallax scrolling with Rellax.js</title>
<link
href="https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css"
/>
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<section class="section__top">
<div class="content rellax" data-rellax-speed="3">
<h1>Rellax.js Landing Page</h1>
<a href="#" class="btn">Learn more</a>
</div>
</section>
<section class="section__stream">
<img
src="./images/barbecue.svg"
alt=""
class="play rellax"
data-rellax-speed="-1"
/>
<div class="content rellax" data-rellax-speed="8">
<div>
<h2 class="secondary__text">How fast is it?</h2>
<p>
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Aspernatur
quaerat minus cum molestiae, natus mollitia facilis similique
quisquam consequatur amet.
</p>
</div>
<div>
<h2 class="secondary__text">What is it for?</h2>
<p>
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Aspernatur
quaerat minus cum molestiae, natus mollitia facilis similique
quisquam consequatur amet.
</p>
</div>
</div>
</section>
<section class="section__grid">
<div class="rellax" data-rellax-speed="1">
<i class="fas fa-video fa-3x secondary__text"></i>
<h2>Watch <span class="secondary__text dot">.</span></h2>
<p>
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Modi earum
nostrum cupiditate aut excepturi saepe deserunt vel, sint et maxime.
</p>
</div>
<div class="rellax" data-rellax-speed="2">
<i class="fas fa-users fa-3x secondary__text"></i>
<h2>Share <span class="secondary__text dot">.</span></h2>
<p>
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Modi earum
nostrum cupiditate aut excepturi saepe deserunt vel, sint et maxime.
</p>
</div>
<div class="rellax" data-rellax-speed="3">
<i class="fas fa-book fa-3x secondary__text"></i>
<h2>Learn <span class="secondary__text dot">.</span></h2>
<p>
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Modi earum
nostrum cupiditate aut excepturi saepe deserunt vel, sint et maxime.
</p>
</div>
</section>
<footer class="footer">
<ul>
<li><a href="#">FAQ</a></li>
<li><a href="#">Terms and conditions</a></li>
<li><a href="#">About us</a></li>
<li><a href="#">Contact us</a></li>
</ul>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/rellax/1.12.1/rellax.min.js"></script>
<script src="./main.js"></script>
</body>
</html>