-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcontact.css
118 lines (101 loc) · 1.92 KB
/
contact.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
.CantactForm{
background-color: #e4f3ee;
}
form{
display: flex;
justify-content:space-between;
}
.formContainer>h1{
font-size: 2rem;
}
form>div{
width: 500px;
}
.FormInfo{
padding: 2rem 4rem 5rem 4rem;
width: 100%;
}
.YourInfo{
display: flex;
flex-direction: column;
}
.formContainer{
padding: 2rem 8rem 8rem 4rem;
width: 100%;
}
.YourInfo{
display: flex;
flex-direction: column;
}
.formContainer input[type='text'],input[type='tel'],input[type='email']{
width: 100%;
height: 50px;
padding: 20px;
}
form input,textarea{
padding: 5px 7px;
font-size: 1rem;
border: 1px solid black;
outline: none;
margin-top: 0.7rem;
border-radius: 10px;
}
textarea{
width: 100%;
}
#submit-btn{
background-color: var(--secondary-color);
color: var(--white-color);
font-size: 1.2rem;
font-weight: bold;
width: 100%;
height: 50px;
text-transform: uppercase;
cursor: pointer;
transition: 0.1s;
border: none;
}
#submit-btn:hover{
background-color: var(--primary-color);
transition: 0.2s;
}
input:focus {
border:1.4px solid var(--secondary-color);
box-shadow: var(--box-shadow-1);
}
textarea:focus {
border:1.4px solid var(--secondary-color);
box-shadow: var(--box-shadow-1);
}
.phone p{
padding-left: 15px;
}
#customerInfoMssg{
height: 1rem;
color: red;
padding-left: 5px;
}
/* media quries */
@media screen and (max-width:450px) {
.formContainer {
padding: 0;
width: 95%;
margin: 1rem auto;
margin-bottom: 3rem;
}
form {
display: flex;
flex-direction: column;
justify-content: space-between;
}
form>div {
width: auto;
}
.formContainer>h1 {
text-align: center;
padding-bottom: 1rem;
}
#customerInfoMssg {
height: auto;
}
}