Skip to content

Commit d9cbb4c

Browse files
Enhance Footer Contact Component UI with text area, font, and button interactions
1 parent 75a11f8 commit d9cbb4c

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

assets/contact/contact.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ main {
9494
background-color: #e9eef5;
9595
border-radius: 8px;
9696
font-size: 1em;
97+
font-family: 'Poppins', sans-serif;
9798
transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
9899
font-weight: 700;
99100
}
@@ -115,8 +116,12 @@ textarea:focus {
115116
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
116117
}
117118

118-
textarea {
119+
.form-section textarea {
119120
resize: vertical;
121+
height: 150px;
122+
min-height: 100px;
123+
max-height: 300px;
124+
overflow-y: auto;
120125
}
121126

122127
.form-section button {

style.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,10 +899,15 @@ footer {
899899
border-radius: 4px;
900900
box-sizing: border-box;
901901
font-size: 16px;
902+
font-family: 'Poppins', sans-serif;
902903
}
903904

904905
.send-message textarea {
905-
height: 50px;
906+
resize: vertical;
907+
height: 50px;
908+
min-height: 50px;
909+
max-height: 100px;
910+
overflow-y: auto;
906911
color: black;
907912
}
908913

@@ -919,6 +924,11 @@ footer {
919924
font-weight: bold;
920925
}
921926

927+
.send-message button:hover {
928+
background: -webkit-linear-gradient(to right, #5568e0, #89b9e8);
929+
background: linear-gradient(to right, #5568e0, #89b9e8);
930+
}
931+
922932
.social {
923933
font-size: 2.3rem;
924934
text-decoration: none;

0 commit comments

Comments
 (0)