-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
189 lines (172 loc) · 8.61 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
<!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" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap"
rel="stylesheet"
/>
<script src="./assets/icons/fontAwesome.js"></script>
<link rel="stylesheet" href="./css/style.css" />
<title>Modern Form</title>
<link rel="shortcut icon" href="./assets/images/fav-icon.png" type="image/png">
</head>
<body>
<div class="loading">
<div class="loading__container">
<div class="loading__element loading__element--1">L</div>
<div class="loading__element loading__element--2">O</div>
<div class="loading__element loading__element--3">A</div>
<div class="loading__element loading__element--4">D</div>
<div class="loading__element loading__element--5">I</div>
<div class="loading__element loading__element--6">N</div>
<div class="loading__element loading__element--7">D</div>
</div>
</div>
<main class="form">
<button class="btn btn--back">
<i class="icon icon--back fas fa-long-arrow-alt-left"></i>
</button>
<div class="progress parallax" data-depth="20">
<div class="progress__indicator progress__indicator--1"></div>
<div class="progress__indicator progress__indicator--2"></div>
<div class="progress__indicator progress__indicator--3"></div>
<div class="progress__indicator progress__indicator--4"></div>
<div class="progress__indicator progress__indicator--5"></div>
<div class="progress__indicator progress__indicator--6"></div>
</div>
<div class="background background--1 parallax" data-depth="2"></div>
<div class="background background--2 parallax" data-depth="10">
<div class="background background--inner parallax" data-depth="12"></div>
</div>
<form id="form" action="./php/form.php" method="POST">
<div class="form__group form__group--active">
<label class="icon-container" for="first-name"
><i class="icon icon--label fas fa-user"></i
></label>
<input
class="input form__input"
type="text"
name="first-name"
id="first-name"
placeholder="First name"
data-input="first-name"
/>
<label class="form__slide" for="first-name">First name</label>
<div class="icon-container icon-next">
<i class="icon icon--arrow fas fa-long-arrow-alt-right"></i>
</div>
</div>
<div class="form__group form__group--inactive">
<label class="icon-container" for="last-name"
><i class="icon icon--label fas fa-user"></i
></label>
<input
class="input form__input"
type="text"
name="last-name"
id="last-name"
placeholder="Last name"
data-input="last-name"
/>
<label class="form__slide" for="last-name">Last name</label>
<div class="icon-container icon-next">
<i class="icon icon--arrow fas fa-long-arrow-alt-right"></i>
</div>
</div>
<div class="form__group form__group--inactive">
<label class="icon-container" for="email-address"
><i class="icon icon--label fas fa-envelope"></i
></label>
<input
class="input form__input"
type="text"
name="email-address"
id="email-address"
placeholder="Email address"
data-input="email-address"
/>
<label class="form__slide" for="email-address">Email address</label>
<div class="icon-container icon-next">
<i class="icon icon--arrow fas fa-long-arrow-alt-right"></i>
</div>
</div>
<div class="form__group form__group--inactive">
<label class="icon-container" for="age"
><i class="icon icon--label fas fa-user-clock"></i
></label>
<input
class="input form__input"
type="number"
name="age"
id="age"
placeholder="Age"
data-input="age"
/>
<label class="form__slide" for="age">Age</label>
<div class="icon-container icon-next">
<i class="icon icon--arrow fas fa-long-arrow-alt-right"></i>
</div>
</div>
<div class="form__group form__group--inactive">
<label class="icon-container" for="gender"
><i class="icon icon--label fas fa-venus-mars"></i
></label>
<input class="form__input--gender-hidden" type="hidden" name="gender" />
<button
class="input form__input form__input--dropdown"
type="button"
name="gender"
id="gender"
data-input="gender"
>
Select gender
<span class="form__dropdown-icon"><i class="icon fas fa-caret-down"></i></span>
</button>
<label class="form__slide" for="gender">Gender</label>
<div class="icon-container icon-next">
<i class="icon icon--arrow fas fa-long-arrow-alt-right"></i>
</div>
<div class="dropdown dropdown--diable">
<ul class="dropdonw__list">
<li class="dropdown__item"><span class="dropdown__text">Male</span></li>
<li class="dropdown__item"><span class="dropdown__text">Female</span></li>
<li class="dropdown__item"><span class="dropdown__text">Others</span></li>
</ul>
</div>
</div>
<div class="form__group form__group--inactive">
<label class="icon-container" for="date-of-birth"
><i class="icon icon--label fas fa-calendar-day"></i
></label>
<input
class="input form__input form__input--date-of-birth"
type="text"
name="date-of-birth"
id="date-of-birth"
placeholder="Date of Birth"
data-input="date-of-birth"
/>
<label class="form__slide" for="date-of-birth">Date of Birth</label>
<div class="icon-container icon-next">
<i class="icon icon--arrow fas fa-long-arrow-alt-right"></i>
</div>
</div>
<div class="form__group form__group--submit form__group--inactive">
<input class="input form__input" type="hidden" data-input="submit" />
<button class="btn btn--submit" type="submit" name="submit">
<span class="btn__stack"></span>
<span class="btn__stack"></span>
<span class="btn__stack"></span>
<span class="btn__stack btn__stack--text">Submit</span>
</button>
</div>
</form>
<p class="error-message error-message--disable parallax" data-depth="30"></p>
</main>
<script src="./js/script.js"></script>
</body>
</html>