-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.css
97 lines (82 loc) · 1.45 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
.container {
background: #232424;
padding: 23px 0;
}
.container h1 {
text-align: center;
color: #ddd;
text-transform: uppercase;
text-decoration: underline;
}
.contact-form {
max-width: 600px;
margin: auto;
padding: 0 10px;
overflow: hidden;
}
.contact-form-text {
display: block;
width: 100%;
box-sizing: border-box;
margin: 16px 0;
border: 0;
background: #111;
padding: 20px 40px;
outline: none;
color: #ddd;
transition: 0.5s;
}
.fa-solid {
position: absolute;
top: -6px;
left: 50%;
transform: translate(-50%, -50%);
font-size: 17px;
border-radius: 50%;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.contact-form-text:focus {
box-shadow: 0 0 10px 4px #34495e;
}
textarea.contact-form-text {
resize: none;
height: 120px;
}
.contact-form-btn {
float: right;
border: 0;
background: #34495e;
color: #fff;
padding: 12px 50px;
border-radius: 20px;
cursor: pointer;
transition: 0.5s;
}
.contact-form-btn:hover {
background: #2980b9;
}
.input-group{
position: relative;
}
.input-group label{
color: white;
}
.input-group span {
position: absolute;
bottom: 20px;
right: 17px;
font-size: 14px;
color: red;
}
#submit-error {
color: red;
}
.input-group span i {
color: seagreen;
}