-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforms.html
More file actions
228 lines (222 loc) · 10.9 KB
/
forms.html
File metadata and controls
228 lines (222 loc) · 10.9 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Итог</title>
<link href="./css/normalize.css" rel="stylesheet" />
<link href="./css/main.css" rel="stylesheet" />
</head>
<body>
<div class="page">
<header class="header">
<div class="container">
<h1 class="header__title">Адаптивная сеточка</h1>
</div>
</header>
<main class="page__main">
<div class="preview">
<div class="container">
<div class="forms">
<h2>forms</h2>
<form>
<label>
<div class="textInputs">
<span>be focused</span>
<div class="inputDiv">
<input type="text" id="textInput" class="textInput" placeholder="Placeholder..." />
</div>
<div class="inputDiv sucess">
<input type="text" id="" class="textInput success" placeholder="Placeholder..." />
<div class="inputIcon inputIcon__success">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M22 11.08V12C21.9988 14.1564 21.3005 16.2547 20.0093 17.9818C18.7182 19.709 16.9033 20.9725 14.8354 21.5839C12.7674 22.1953 10.5573 22.1219 8.53447 21.3746C6.51168 20.6273 4.78465 19.2461 3.61096 17.4371C2.43727 15.628 1.87979 13.4881 2.02168 11.3363C2.16356 9.18457 2.99721 7.13633 4.39828 5.49707C5.79935 3.85782 7.69279 2.71538 9.79619 2.24015C11.8996 1.76491 14.1003 1.98234 16.07 2.86"
stroke="#374FC7"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round" />
<path d="M22 4L12 14.01L9 11.01" stroke="#374FC7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</div>
<div class="inputIcon inputIcon__error">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M10.29 3.86001L1.82 18C1.64537 18.3024 1.55296 18.6453 1.55199 18.9945C1.55101 19.3437 1.64149 19.6871 1.81442 19.9905C1.98736 20.2939 2.23672 20.5468 2.53771 20.7239C2.83869 20.901 3.1808 20.9962 3.53 21H20.47C20.8192 20.9962 21.1613 20.901 21.4623 20.7239C21.7633 20.5468 22.0126 20.2939 22.1856 19.9905C22.3585 19.6871 22.449 19.3437 22.448 18.9945C22.447 18.6453 22.3546 18.3024 22.18 18L13.71 3.86001C13.5317 3.56611 13.2807 3.32313 12.9812 3.15449C12.6817 2.98585 12.3437 2.89726 12 2.89726C11.6563 2.89726 11.3183 2.98585 11.0188 3.15449C10.7193 3.32313 10.4683 3.56611 10.29 3.86001V3.86001Z"
stroke="#F03D3E"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round" />
<path d="M12 9V13" stroke="#F03D3E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
<path d="M12 16V16.5" stroke="#F03D3E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</div>
</div>
<div class="inputDiv error">
<input type="text" class="textInput" placeholder="Placeholder..." />
<div class="inputIcon inputIcon__success">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M22 11.08V12C21.9988 14.1564 21.3005 16.2547 20.0093 17.9818C18.7182 19.709 16.9033 20.9725 14.8354 21.5839C12.7674 22.1953 10.5573 22.1219 8.53447 21.3746C6.51168 20.6273 4.78465 19.2461 3.61096 17.4371C2.43727 15.628 1.87979 13.4881 2.02168 11.3363C2.16356 9.18457 2.99721 7.13633 4.39828 5.49707C5.79935 3.85782 7.69279 2.71538 9.79619 2.24015C11.8996 1.76491 14.1003 1.98234 16.07 2.86"
stroke="#374FC7"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round" />
<path d="M22 4L12 14.01L9 11.01" stroke="#374FC7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</div>
<div class="inputIcon inputIcon__error">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M10.29 3.86001L1.82 18C1.64537 18.3024 1.55296 18.6453 1.55199 18.9945C1.55101 19.3437 1.64149 19.6871 1.81442 19.9905C1.98736 20.2939 2.23672 20.5468 2.53771 20.7239C2.83869 20.901 3.1808 20.9962 3.53 21H20.47C20.8192 20.9962 21.1613 20.901 21.4623 20.7239C21.7633 20.5468 22.0126 20.2939 22.1856 19.9905C22.3585 19.6871 22.449 19.3437 22.448 18.9945C22.447 18.6453 22.3546 18.3024 22.18 18L13.71 3.86001C13.5317 3.56611 13.2807 3.32313 12.9812 3.15449C12.6817 2.98585 12.3437 2.89726 12 2.89726C11.6563 2.89726 11.3183 2.98585 11.0188 3.15449C10.7193 3.32313 10.4683 3.56611 10.29 3.86001V3.86001Z"
stroke="#F03D3E"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round" />
<path d="M12 9V13" stroke="#F03D3E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
<path d="M12 16V16.5" stroke="#F03D3E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</div>
</div>
</div>
</label>
<div class="checksTable">
<div class="checkBoxes">
<label class="checkbox">
<input type="checkbox" class="checkbox__native" />
<div class="checkbox__state">
<div class="checkbox__box">
<div class="checkbox__icon">
<svg width="15" height="13" viewBox="0 0 15 13" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1.5 7.5L5 11L13 2" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</div>
</div>
<div class="checkbox__title">Default</div>
</div>
</label>
<label class="checkbox">
<input type="checkbox" class="checkbox__native" checked />
<div class="checkbox__state">
<div class="checkbox__box">
<div class="checkbox__icon">
<svg width="15" height="13" viewBox="0 0 15 13" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1.5 7.5L5 11L13 2" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</div>
</div>
<div class="checkbox__title">Checked</div>
</div>
</label>
<label class="checkbox">
<input type="checkbox" class="checkbox__native" disabled />
<div class="checkbox__state">
<div class="checkbox__box">
<div class="checkbox__icon">
<svg width="15" height="13" viewBox="0 0 15 13" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1.5 7.5L5 11L13 2" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</div>
</div>
<div class="checkbox__title">Disabled</div>
</div>
</label>
</div>
<div class="radios">
<label class="radio">
<input type="radio" class="radio__native" />
<div class="radio__state">
<div class="radio__box">
<div class="radio__icon">
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="18" height="18" rx="9" fill="#4263EB" />
</svg>
</div>
</div>
<div class="radio__title">Default</div>
</div>
</label>
<label class="radio">
<input type="radio" class="radio__native" checked />
<div class="radio__state">
<div class="radio__box">
<div class="radio__icon">
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="18" height="18" rx="9" fill="#4263EB" />
</svg>
</div>
</div>
<div class="radio__title">Selected</div>
</div>
</label>
<label class="radio">
<input type="radio" class="radio__native" disabled />
<div class="radio__state">
<div class="radio__box">
<div class="radio__icon">
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="18" height="18" rx="9" fill="#4263EB" />
</svg>
</div>
</div>
<div class="radio__title">Disabled</div>
</div>
</label>
</div>
<div class="toogles">
<label class="toogle">
<input type="checkbox" class="toogle__native" />
<div class="toogle__state">
<div class="toogle__box">
<div class="toogle__icon">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="24" height="24" rx="12" fill="currentColor" />
</svg>
</div>
</div>
<div class="toogle__title">OFF</div>
</div>
</label>
<label class="toogle">
<input type="checkbox" class="toogle__native" checked />
<div class="toogle__state">
<div class="toogle__box">
<div class="toogle__icon">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="24" height="24" rx="12" fill="currentColor" />
</svg>
</div>
</div>
<div class="toogle__title">On</div>
</div>
</label>
<label class="toogle">
<input type="checkbox" class="toogle__native" disabled />
<div class="toogle__state">
<div class="toogle__box">
<div class="toogle__icon">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="24" height="24" rx="12" fill="currentColor" />
</svg>
</div>
</div>
<div class="toogle__title">Disabled</div>
</div>
</label>
</div>
</div>
</form>
</div>
</div>
</div>
</main>
<footer class="footer">
<h2 class="footer__title">About</h2>
<p class="footer__text">
This project is a collection of professionally designed, pre-built, fully responsive HTML snippets you can drop into your projects. Get started by checking out our free preview components, or browsing the PNG previews in the categories you're most
curious about.
</p>
</footer>
</div>
</body>
</html>