-
Notifications
You must be signed in to change notification settings - Fork 0
/
hackathon.html
313 lines (282 loc) · 9.5 KB
/
hackathon.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
311
312
313
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Document</title>
<link
href="https://fonts.googleapis.com/css?family=Roboto+Condensed&display=swap"
rel="stylesheet"
/>
<style>
body {
margin: 0;
font-family: "Roboto Condensed", sans-serif;
}
h1 {
color: #333;
font-weight: 700;
margin-top: 125px;
text-align: center;
text-transform: uppercase;
letter-spacing: 4px;
line-height: 23px;
}
.achieve {
display: flex;
justify-content: center;
}
.hack {
color: red;
}
.for {
color: green;
}
.tech {
color: blue;
}
/* --- Start progress bar --- */
.process-wrapper {
margin: auto;
max-width: 1080px;
}
#progress-bar-container {
position: relative;
width: 90%;
margin: auto;
height: 100px;
margin-top: 65px;
text-align: center;
}
#progress-bar-container ul {
padding: 0;
margin: 0;
padding-top: 15px;
z-index: 9999;
position: absolute;
width: 100%;
margin-top: -40px;
display: flex;
justify-content: center;
}
#progress-bar-container li:before {
content: " ";
display: block;
margin: auto;
width: 30px;
height: 30px;
border-radius: 50%;
border: solid 2px #aaa;
transition: all ease 0.3s;
}
#progress-bar-container li.active:before,
#progress-bar-container li:hover:before {
border: solid 2px #fff;
background: linear-gradient(to right, #f9e900 15%, #dfd807 100%);
}
#progress-bar-container li {
list-style: none;
float: left;
width: 20%;
text-align: center;
color: #aaa;
text-transform: uppercase;
font-size: 11px;
cursor: pointer;
font-weight: 700;
transition: all ease 0.2s;
vertical-align: bottom;
height: 60px;
position: relative;
}
#progress-bar-container li .step-inner {
position: absolute;
width: 100%;
bottom: 0;
font-size: 14px;
}
#progress-bar-container li.active,
#progress-bar-container li:hover {
color: #444;
}
#progress-bar-container li:after {
content: " ";
display: block;
width: 6px;
height: 6px;
background: #777;
margin: auto;
border: solid 7px #fff;
border-radius: 50%;
margin-top: 40px;
box-shadow: 0 2px 13px -1px rgba(0, 0, 0, 0.3);
transition: all ease 0.2s;
}
#progress-bar-container li:hover:after {
background: #555;
}
#progress-bar-container li.active:after {
background: #207893;
}
#progress-bar-container #line {
width: 40%;
margin: auto;
background: #eee;
height: 6px;
position: absolute;
left: 30%;
top: 57px;
z-index: 1;
border-radius: 50px;
transition: all ease 0.9s;
}
#progress-bar-container #line-progress {
content: " ";
width: 3%;
height: 100%;
background: #207893;
background: linear-gradient(to right, #1702ff 15%, #defa08 80%);
position: absolute;
z-index: 2;
border-radius: 50px;
transition: all ease 0.9s;
}
#progress-content-section {
width: 90%;
margin: auto;
background: #f3f3f3;
border-radius: 4px;
}
#progress-content-section .section-content {
padding: 30px 40px;
text-align: center;
}
#progress-content-section .section-content h2 {
font-size: 17px;
text-transform: uppercase;
color: #333;
letter-spacing: 1px;
}
#progress-content-section .section-content p {
font-size: 16px;
line-height: 1.8em;
color: #777;
}
#progress-content-section .section-content {
display: none;
animation: FadeInUp 700ms ease 1;
animation-fill-mode: forwards;
transform: translateY(15px);
opacity: 0;
}
#progress-content-section .section-content.active {
display: block;
}
@keyframes FadeInUp {
0% {
transform: translateY(15px);
opacity: 0;
}
100% {
transform: translateY(0px);
opacity: 1;
}
}
</style>
</head>
<body>
<div class="achieve">
<h1 class="hack">Hack </h1>
<h1 class="for">For </h1>
<h1 class="tech">Tech</h1>
</div>
<br />
<div class="process-wrapper">
<div id="progress-bar-container">
<ul>
<li class="step step01 active">
<div class="step-inner">About Hackathon</div>
</li>
<li class="step step02">
<div class="step-inner">Date and Time</div>
</li>
<li class="step step03"><div class="step-inner">Feedback</div></li>
</ul>
<div id="line">
<div id="line-progress"></div>
</div>
</div>
<div id="progress-content-section">
<div class="section-content discovery active">
<h2>What is Hackathon</h2>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec neque
justo, consequat non fermentum ac, tempor eu turpis. Proin nulla
eros, placerat non ipsum ut, dapibus ullamcorper ex. Nulla in
dapibus lorem. Suspendisse vitae velit ac ante consequat placerat ut
sed eros. Nullam porttitor mattis mi, id fringilla ex consequat eu.
Praesent pulvinar tincidunt leo et condimentum. Maecenas volutpat
turpis at felis egestas malesuada. Phasellus sem odio, venenatis at
ex a, lacinia suscipit orci.
</p>
</div>
<div class="section-content strategy">
<h2>Date and Time</h2>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec neque
justo, consequat non fermentum ac, tempor eu turpis. Proin nulla
eros, placerat non ipsum ut, dapibus ullamcorper ex. Nulla in
dapibus lorem. Suspendisse vitae velit ac ante consequat placerat ut
sed eros. Nullam porttitor mattis mi, id fringilla ex consequat eu.
Praesent pulvinar tincidunt leo et condimentum. Maecenas volutpat
turpis at felis egestas malesuada. Phasellus sem odio, venenatis at
ex a, lacinia suscipit orci.
</p>
</div>
<div class="section-content creative">
<h2>old Events</h2>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec neque
justo, consequat non fermentum ac, tempor eu turpis. Proin nulla
eros, placerat non ipsum ut, dapibus ullamcorper ex. Nulla in
dapibus lorem. Suspendisse vitae velit ac ante consequat placerat ut
sed eros. Nullam porttitor mattis mi, id fringilla ex consequat eu.
Praesent pulvinar tincidunt leo et condimentum. Maecenas volutpat
turpis at felis egestas malesuada. Phasellus sem odio, venenatis at
ex a, lacinia suscipit orci. Lorem ipsum dolor sit amet consectetur,
adipisicing elit. Eum quia perspiciatis nemo mollitia, ab ratione
hic. Quibusdam iusto voluptate similique esse molestiae, velit unde
dignissimos, vel necessitatibus odio impedit, non repellendus sequi
iure? Cumque culpa doloribus consectetur qui ad praesentium, placeat
necessitatibus quod delectus reprehenderit ratione quasi soluta
porro perferendis magni laboriosam harum esse repellendus vero
reiciendis ducimus officiis. Perferendis asperiores enim nostrum
alias quia fuga exercitationem laboriosam error. Non illum ex unde
nobis quam a maiores hic accusamus, libero molestiae perferendis aut
cupiditate quas dolor quod. Commodi reiciendis, harum, quas non
esse, pariatur perspiciatis ipsum dolorem aut odit numquam!
</p>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script>
$(".step").click(function () {
$(this).addClass("active").prevAll().addClass("active");
$(this).nextAll().removeClass("active");
});
$(".step01").click(function () {
$("#line-progress").css("width", "1px");
$(".discovery").addClass("active").siblings().removeClass("active");
});
$(".step02").click(function () {
$("#line-progress").css("width", "50%");
$(".strategy").addClass("active").siblings().removeClass("active");
});
$(".step03").click(function () {
$("#line-progress").css("width", "100%");
$(".creative").addClass("active").siblings().removeClass("active");
});
</script>
</body>
</html>