-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathindex.html
223 lines (209 loc) · 7.17 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Paralax Effect On GSAP</title>
<link rel="icon" href="img/icon.jpg" type="icon/x-icon">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Syne:wght@400;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style/normalize.css">
<link rel="stylesheet" href="style/style.css">
</head>
<body>
<!-- div .wrapp -->
<div id="luxy" class="wrapp">
<!-- div .header -->
<header class="header">
<h1 class="title" data-splitting><span class="title_paralax">Parallax effect</span><span class="stroke">on
gsap</span></h1>
<div class="header__img">
<img src="img/1.jpg" alt="1">
</div>
<div class="header__marq">
<div class="header__marq-wrapp">
<span class="header__marq-txt">discuss your ideas
<span class="header__marq-star">
<img src="img/star.svg" alt="">
</span>
</span>
<span class="header__marq-txt">discuss your ideas
<span class="header__marq-star">
<img src="img/star.svg" alt="">
</span>
</span>
<span class="header__marq-txt">discuss your ideas
<span class="header__marq-star">
<img src="img/star.svg" alt="">
</span>
</span>
<span class="header__marq-txt">discuss your ideas
<span class="header__marq-star">
<img src="img/star.svg" alt="">
</span>
</span>
</div>
</div>
</header>
<main class="main">
<!-- div .about -->
<section class="about">
<div class="about__wrapp">
<div class="about__img">
<img src="img/2.jpg" alt="2">
</div>
<div class="about__txt">
<h2 class="section-title">abo<span class="stroke">ut</span>
<span class="section-title__square"></span>
</h2>
<p class="about__p">Lorem ipsum dolor sit amet consectetur adipisicing elit. Cumque esse
aspernatur fugit debitis quisquam. Quia exercitationem ipsum voluptas voluptatum hic
enim quo provident culpa possimus cupiditate! Dolorum quae doloremque cum rerum ipsam
inventore beatae, at odit, velit, aspernatur minima! Corporis.</p>
</div>
</div>
</section>
<!-- div .benefits -->
<section class="benefits">
<div class="content">
<h2 class="section-title">benef<span class="stroke">its</span>
<span class="section-title__square"></span>
</h2>
<ul class="benefits__list">
<li class="benefits__item">
<span class="benefits__num" data-speed="-200">/01</span>
<p class="benefits__p">Lorem ipsum dolor sit amet consectetur adipisicing elit. Omnis, quas.
</p>
</li>
<li class="benefits__item">
<span class="benefits__num" data-speed="-150">/02</span>
<p class="benefits__p">Lorem ipsum dolor sit amet consectetur adipisicing elit. Omnis, quas.
</p>
</li>
<li class="benefits__item">
<span class="benefits__num" data-speed="-150">/03</span>
<p class="benefits__p">Lorem ipsum dolor sit amet consectetur adipisicing elit. Omnis, quas.
</p>
</li>
<li class="benefits__item">
<span class="benefits__num" data-speed="-150">/04</span>
<p class="benefits__p">Lorem ipsum dolor sit amet consectetur adipisicing elit. Omnis, quas.
</p>
</li>
<li class="benefits__item">
<span class="benefits__num" data-speed="-110">/05</span>
<p class="benefits__p">Lorem ipsum dolor sit amet consectetur adipisicing elit. Omnis, quas.
</p>
</li>
<li class="benefits__item">
<span class="benefits__num" data-speed="-200">/06</span>
<p class="benefits__p">Lorem ipsum dolor sit amet consectetur adipisicing elit. Omnis, quas.
</p>
</li>
</ul>
</div>
</section>
<!-- div .work -->
<section class="work">
<div class="content">
<h2 class="section-title">portfo<span class="stroke">lio</span>
<span class="section-title__square"></span>
</h2>
</div>
<div class="work__wrapp">
<div class="work__item" data-speed="-300">
<span class="work__item-num" data-speed="-1000">/001</span>
<div class="work__item-img">
<img src="img/3.jpg" alt="3">
</div>
</div>
<div class="work__item" data-speed="-600">
<span class="work__item-num" data-speed="-500">/002</span>
<div class="work__item-img">
<img src="img/4.jpg" alt="4">
</div>
</div>
<div class="work__item" data-speed="-700">
<span class="work__item-num" data-speed="-700">/003</span>
<div class="work__item-img">
<img src="img/5.jpg" alt="5">
</div>
</div>
<div class="work__item" data-speed="-400">
<span class="work__item-num" data-speed="-200">/004</span>
<div class="work__item-img">
<img src="img/6.jpg" alt="6">
</div>
</div>
</div>
</section>
<!-- div .serv -->
<section class="serv">
<div class="content">
<h2 class="section-title">servic<span class="stroke">es</span>
<span class="section-title__square"></span>
</h2>
<div class="serv__list">
<div class="serv__item">
<span class="serv__item-arrow" data-speed="500">
<img src="img/arrow.svg" alt="">
</span>
<div class="serv__item-txt">
<span class="serv__item-text">/Graphic Design</span>
</div>
</div>
<div class="serv__item">
<span class="serv__item-arrow" data-speed="400">
<img src="img/arrow.svg" alt="">
</span>
<div class="serv__item-txt">
<span class="serv__item-text">/UX/UI Design</span>
</div>
</div>
<div class="serv__item">
<span class="serv__item-arrow" data-speed="800">
<img src="img/arrow.svg" alt="">
</span>
<div class="serv__item-txt">
<span class="serv__item-text">/Web Design</span>
</div>
</div>
<div class="serv__item">
<span class="serv__item-arrow" data-speed="600">
<img src="img/arrow.svg" alt="">
</span>
<div class="serv__item-txt">
<span class="serv__item-text">/Brend Design</span>
</div>
</div>
</div>
</div>
</section>
</main>
<!-- div .footer -->
<footer class="footer">
<div class="footer__div">
<span data-speed="-300">a</span>
<span data-speed="100">p</span>
<span data-speed="300">p</span>
<span data-speed="-300">r</span>
<span data-speed="350">o</span>
<span data-speed="200">v</span>
<span data-speed="-310">e</span>
<span data-speed="200">c</span>
<span data-speed="-340">o</span>
<span data-speed="-100">d</span>
<span data-speed="300">e</span>
</div>
</footer>
</div>
<!-- /div .wrapp END -->
<script src="js/splitting.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/ScrollTrigger.min.js"></script>
<script src="js/luxy.js"></script>
<script src="js/js.js"></script>
</body>
</html>