-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.css
102 lines (92 loc) · 1.64 KB
/
form.css
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
* {
margin: 10%, 0%;
padding: 0;
box-sizing: border-box;
}
body {
margin-top: 20%;
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container {
margin-top: 10%;
width: 90%;
height: auto;
padding: 20px;
border-radius: 20px;
box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.2);
display: flex;
justify-content: space-evenly;
align-items: center;
flex-direction: column;
}
.container form {
width: 100%;
height: 100%;
display: flex;
justify-content: space-evenly;
align-items: center;
flex-direction: column;
}
.inputBox {
width: 100%;
margin: 10px 0;
border-radius: 5px;
overflow: hidden;
}
.inputBox input[type="text"],
.inputBox input[type="email"] {
width: 100%;
height: 50px;
border-radius: 5px;
border: none;
outline: none;
overflow: hidden;
border: 1px solid rgba(0, 0, 0, 0.2);
padding: 0px 10px;
font-size: 16px;
color: #444;
}
.inputBox textarea {
width: 100%;
height: 120px;
border-radius: 5px;
border: none;
outline: none;
overflow: hidden;
border: 1px solid rgba(0, 0, 0, 0.2);
padding: 0px 10px;
font-size: 16px;
color: #444;
}
.inputBox button {
width: 100%;
padding: 10px 20px;
border: none;
outline: none;
background: rgb(0, 119, 255);
color: #fff;
font-size: 20px;
font-weight: bold;
cursor: pointer;
}
.inputBox button:hover {
background: rgb(0, 17, 255);
transition: all 0.3s ease;
}
::placeholder {
font-size: 16px;
}
.alert {
width: 100%;
background: rgb(0, 255, 106);
padding: 10px 20px;
border-radius: 5px;
text-align: center;
font-size: 18px;
font-weight: 900;
display: none;
}