Skip to content

Commit bbd0787

Browse files
authored
Add hover effect to recipe cards for website interactivity (#1438)
1 parent 86d299b commit bbd0787

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/components/RecipeTile.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,10 @@ export default {
8686
height: 212px;
8787
object-fit: cover;
8888
}
89+
90+
.mb-4:hover {
91+
transform: scale(1.02);
92+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
93+
transition: all 0.3s ease;
94+
}
8995
</style>

0 commit comments

Comments
 (0)