forked from uiverse-io/galaxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathYaya12085_horrible-grasshopper-43.html
74 lines (64 loc) · 1.53 KB
/
Yaya12085_horrible-grasshopper-43.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
<form class="form">
<span class="title">Register</span>
<label for="username" class="label">Username</label>
<input type="text" id="username" name="username" required="" class="input">
<label for="email" class="label">Email</label>
<input type="email" id="email" name="email" required="" class="input">
<label for="password" class="label">Password</label>
<input type="password" id="password" name="password" required="" class="input">
<button type="submit" class="submit">Register</button>
</form>
<style>
/* From Uiverse.io by Yaya12085 - Tags: form */
.form {
max-width: 320px;
width: 100%;
background-color: #fff;
padding: 20px;
box-shadow: 0px 0px 0px 4px rgba(52, 52, 53, 0.185);
display: flex;
flex-direction: column;
border-radius: 10px;
}
.title {
text-align: center;
font-size: 2rem;
margin-bottom: 20px;
color: #1a202c;
}
.label {
color: rgb(0, 0, 0);
margin-bottom: 4px;
}
.input {
padding: 10px;
margin-bottom: 20px;
width: 100%;
font-size: 1rem;
color: #4a5568;
outline: none;
border: 1px solid transparent;
border-radius: 4px;
transition: all 0.2s ease-in-out;
}
.input:focus {
background-color: #fff;
box-shadow: 0 0 0 2px #cbd5e0;
}
.input:valid {
border: 1px solid green;
}
.input:invalid {
border: 1px solid rgba(14, 14, 14, 0.205);
}
.submit {
background-color: #1a202c;
color: #fff;
border: none;
border-radius: 4px;
padding: 10px 20px;
font-size: 1.2rem;
cursor: pointer;
transition: all 0.2s ease-in-out;
}
</style>