-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.css
109 lines (89 loc) · 1.58 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
.container{
width:1200px;
margin:0 auto;
}
.contactus-form-container{
width:100%;
background-color: rgb(231,231,231);
}
.contactus-heading{
font-size: 5em;
color: red;
padding-top: 2rem;
}
.contactus-sub-heading{
font-size:3rem;
color: #343d68aa;
text-transform: capitalize;
}
.contactus-form-container{
margin-top: 25px;
display: flex;
align-items: center;
justify-content: center;
}
.form{
display:flex;
flex-direction: column;
gap: 30px;
width: 70%;
margin: 2rem 5rem;
}
.formfield-container{
width:100%;
}
.formfield{
width:100%;
height: 42px;
padding: 0 2rem;
font-size: 18px;
border-radius: 5px;
box-shadow: 2px 2px 10px #1f1f1f;
font-weight: 500;
border: none;
margin-top: 17px;
}
.formfield-textarea{
height:auto;
padding-top: 1 rem;
}
#submit-btn{
border: none;
font-size: 1.4em;
margin: 1 rem 0;
}
#submit-btn:hover{
scale:0.9;
}
#submit-icon{
padding:0 1rem;
}
.btn-pink {
background-color: #e84949;
width: fit-content;
color: white;
padding: 0.8rem 2.3rem;
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-weight: 700;
position: relative;
z-index: 1;
}
.btn-pink::before{
content: "";
position: absolute;
background-color: black;
top: 0;
bottom: 0;
right: 0;
left: 0;
z-index: -1;
transform: scaleX(0);
transform-origin: left;
transition: 0.5s ease;
}
.btn-pink:hover{
color: #e84949;
}
.btn-pink:hover::before{
transform: scaleX(1);
}