Skip to content

Commit fe17208

Browse files
committed
Update Home.vue
1 parent 3cfe20f commit fe17208

File tree

1 file changed

+21
-6
lines changed

1 file changed

+21
-6
lines changed

src/views/Service/Home.vue

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
</div>
4343
</div>
4444
<div class="col-md-3">
45-
<div class="card" style="width: 18rem;">
45+
<div class="card">
4646
<br />
4747
<img
4848
src="../../assets/img/Home/serve.png"
@@ -93,12 +93,17 @@
9393
}
9494
9595
.service-info-card {
96-
background: white;
96+
background: hsla(var(--primary), 80%, 60%, 0.08);
9797
border-radius: 12px;
9898
padding: 1.5rem;
99-
box-shadow: 0 4px 20px rgba(0,0,0,0.08);
99+
transition: all 0.4s ease;
100+
box-shadow: 0 4px 20px rgba(0,0,0,0.2);
100101
margin-bottom: 2rem;
101-
border-left: 4px solid var(--primary);
102+
}
103+
104+
.service-info-card:hover {
105+
transform: translateY(-5px);
106+
box-shadow: 0 8px 25px rgba(0,0,0,0.3);
102107
}
103108
104109
.info-content {
@@ -181,12 +186,12 @@
181186
}
182187
183188
.service-tile {
184-
background: white;
189+
background: hsla(var(--hue), 80%, 60%, 0.08);
185190
border-radius: 12px;
186191
padding: 1.5rem;
187192
box-shadow: 0 4px 20px rgba(0,0,0,0.08);
188193
transition: all 0.3s ease;
189-
border-top: 4px solid hsl(var(--hue), 80%, 60%);
194+
border: 2px solid hsla(var(--hue), 80%, 60%, 0.4);
190195
}
191196
192197
.service-tile:hover {
@@ -244,6 +249,16 @@
244249
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
245250
}
246251
252+
.card {
253+
transition: all 0.2s ease;
254+
box-shadow: 0 4px 20px rgba(0,0,0,0.08);
255+
}
256+
257+
.card:hover {
258+
transform: translateY(-5px);
259+
box-shadow: 0 8px 25px rgba(0,0,0,0.12);
260+
}
261+
247262
@media (max-width: 768px) {
248263
.service-meta {
249264
flex-direction: column;

0 commit comments

Comments
 (0)