Skip to content

Commit

Permalink
added all images and hover
Browse files Browse the repository at this point in the history
  • Loading branch information
MuraliDharan7 committed Jun 8, 2024
1 parent b1e469a commit 4d6eec0
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions wishlist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,20 @@
justify-content: center;
margin: 1rem;
}

.wishlist-item img {
max-width: 100%;
transition: transform 0.3s ease;
}

.wishlist-item:hover {
transform: scale(1.05);
background-color: #e0f7fa;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.wishlist-item:hover img {
transform: scale(1.1);
}
.wishlist-item {
background-color: white;
border: 1px solid #ddd;
Expand All @@ -44,9 +57,10 @@
}

.wishlist-item img {
max-width: 100%;
height: auto;
}
width: 120px; /* Set a fixed width for the images */
height: 180px; /* Set a fixed height for the images */

}

.wishlist-item h2 {
font-size: 1.2rem;
Expand Down

0 comments on commit 4d6eec0

Please sign in to comment.