-
Notifications
You must be signed in to change notification settings - Fork 73
/
index.html
310 lines (295 loc) · 10.6 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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
<!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>Planets</title>
<link rel="stylesheet" href="style.css" />
<link
rel="stylesheet"
href="https://unpkg.com/swiper/swiper-bundle.min.css"
/>
</head>
<body>
<nav>
<div class="logo">Explore.</div>
<div class="nav-links">
<ul>
<li><img src="images/linkedin.png" alt="" /></li>
<li><img src="images/facebook.png" alt="" /></li>
<li><img src="images/instagram-logo.png" alt="" /></li>
</ul>
</div>
</nav>
<section id="sectionone" class="screen">
<div id="scene">
<div data-depth="0.1" class="bg">
<img src="images/background.png" alt="" />
</div>
<div data-depth="0.2" class="rock1">
<img src="images/rock.png" alt="" />
</div>
<div data-depth="1.2" class="earth">
<img src="images/earth.png" alt="" />
</div>
<div data-depth="0.1" class="text">
<h1>PLANETS</h1>
</div>
<div data-depth="0.4" class="mid">
<img src="images/mid.png" alt="" />
</div>
<div data-depth="0.1" class="fore">
<img src="images/foreground.png" alt="" />
</div>
</div>
</section>
<section id="sectiontwo" class="screen">
<div class="swiper-container">
<div class="swiper-wrapper">
<!-- SLIDE ONE -->
<div class="swiper-slide">
<div class="slide-number">
<p><span>Mercury</span></p>
</div>
<div class="slide-text">
<h4><span>01</span></h4>
</div>
<div class="slide-detail">
<p>
<span
>Mercury is the closest planet to the Sun but, perhaps
surprisingly, it does not have the highest temperatures. It is
the second densest planet of the Solar System, but also the
smallest planet. The structure of Mercury makes it the most
similar planet to Earth.
</span>
</p>
</div>
<div class="slide-detail-facts">
<div>
<h5>
ORBIT PERIOD:
<span style="opacity: 0.8">87.97 Earth Days</span>
</h5>
<h5>KNOWN MOONS: <span style="opacity: 0.8">None</span></h5>
</div>
</div>
<div class="slide-img"></div>
</div>
<!-- 02 -->
<div class="swiper-slide">
<div class="slide-number">
<p><span>Venus</span></p>
</div>
<div class="slide-text">
<h4><span>02</span></h4>
</div>
<div class="slide-detail">
<p>
<span
>Venus is the second planet from the Sun and the
sixth-largest. Together with Mercury, they are the only
planets without a satellite, even though Mercury is closer to
the sun, Venus is the hottest planet.
</span>
</p>
</div>
<div class="slide-detail-facts">
<div>
<h5>
ORBIT PERIOD:
<span style="opacity: 0.8">224.70 Earth days</span>
</h5>
<h5>KNOWN MOONS: <span style="opacity: 0.8">None</span></h5>
</div>
</div>
<div class="slide-img"></div>
</div>
<!-- 03 -->
<div class="swiper-slide">
<div class="slide-number">
<p><span>Earth</span></p>
</div>
<div class="slide-text">
<h4><span>03</span></h4>
</div>
<div class="slide-detail">
<p>
<span
>Earth is the third planet from the Sun and the fifth largest
planet in the Solar System with the highest density. It is
currently the only known location where life is present.
</span>
</p>
</div>
<div class="slide-detail-facts">
<div>
<h5>
ORBIT PERIOD:
<span style="opacity: 0.8">365.26 Earth days</span>
</h5>
<h5>KNOWN MOONS: <span style="opacity: 0.8">1</span></h5>
</div>
</div>
<div class="slide-img"></div>
</div>
<!-- 04 -->
<div class="swiper-slide">
<div class="slide-number">
<p><span>Mars</span></p>
</div>
<div class="slide-text">
<h4><span>04</span></h4>
</div>
<div class="slide-detail">
<p>
<span
>Mars is the fourth planet from the Sun and the
second-smallest planet with a thin atmosphere, having the
surface features reminiscent both of the impact craters of the
Moon, and the valleys, deserts and polar ice caps of Earth.
</span>
</p>
</div>
<div class="slide-detail-facts">
<div>
<h5>
ORBIT PERIOD:
<span style="opacity: 0.8">686.98 Earth days</span>
</h5>
<h5>KNOWN MOONS: <span style="opacity: 0.8">2</span></h5>
</div>
</div>
<div class="slide-img"></div>
</div>
<!-- 05 -->
<div class="swiper-slide">
<div class="slide-number">
<p><span>Jupiter</span></p>
</div>
<div class="slide-text">
<h4><span>05</span></h4>
</div>
<div class="slide-detail">
<p>
<span
>Jupiter is the fifth planet from the Sun and the largest
planet of the Solar System. It is the oldest planet of the
Solar System thus it was the first to take shape out of the
remains of the solar nebula.
</span>
</p>
</div>
<div class="slide-detail-facts">
<div>
<h5>
ORBIT PERIOD:
<span style="opacity: 0.8">4,332.82 Earth days</span>
</h5>
<h5>KNOWN MOONS: <span style="opacity: 0.8">67</span></h5>
</div>
</div>
<div class="slide-img"></div>
</div>
<!-- 06 -->
<div class="swiper-slide">
<div class="slide-number">
<p><span>Saturn</span></p>
</div>
<div class="slide-text">
<h4><span>06</span></h4>
</div>
<div class="slide-detail">
<p>
<span
>Saturn is the sixth planet from the Sun, with the largest
planetary rings in the Solar System. It is the second-largest
planet after Jupiter, and recently, with many other moons
being discovered, it surpassed the number of Jupiter’s moons.
</span>
</p>
</div>
<div class="slide-detail-facts">
<div>
<h5>
ORBIT PERIOD:
<span style="opacity: 0.8">10,755.70 Earth days</span>
</h5>
<h5>KNOWN MOONS: <span style="opacity: 0.8">62</span></h5>
</div>
</div>
<div class="slide-img"></div>
</div>
<!-- 07 -->
<div class="swiper-slide">
<div class="slide-number">
<p><span>Uranus</span></p>
</div>
<div class="slide-text">
<h4><span>07</span></h4>
</div>
<div class="slide-detail">
<p>
<span
>Uranus is the seventh planet discovered in the Solar System
that also led to the discovery of the last planet, Neptune
they are both referred to as ice giants.
</span>
</p>
</div>
<div class="slide-detail-facts">
<div>
<h5>
ORBIT PERIOD:
<span style="opacity: 0.8">30,687.15 Earth days</span>
</h5>
<h5>KNOWN MOONS: <span style="opacity: 0.8">27</span></h5>
</div>
</div>
<div class="slide-img"></div>
</div>
<!-- 08 -->
<div class="swiper-slide">
<div class="slide-number">
<p><span>Neptune</span></p>
</div>
<div class="slide-text">
<h4><span>08</span></h4>
</div>
<div class="slide-detail">
<p>
<span
>Neptune is the fourth largest and the farthest planet of the
Solar System with the most powerful wind speeds out of all the
planets. It is the smallest of the gas giants.
</span>
</p>
</div>
<div class="slide-detail-facts">
<div>
<h5>
ORBIT PERIOD:
<span style="opacity: 0.8">60,190.03 Earth days</span>
</h5>
<h5>KNOWN MOONS: <span style="opacity: 0.8">14</span></h5>
</div>
</div>
<div class="slide-img"></div>
</div>
</div>
</div>
<!-- SLIDER LINKS -->
<div>
<div class="rockbg1">
<img src="images/rock.png" alt="">
</div>
<div class="planet-links"></div>
</div>
</section>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.5.1/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/parallax/3.1.0/parallax.min.js"></script>
<script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>
<script src="index.js" type="text/javascript"></script>
</body>
</html>