Skip to content

Commit

Permalink
hover effect added to product
Browse files Browse the repository at this point in the history
  • Loading branch information
MuraliDharan7 committed Jun 8, 2024
1 parent 0c7a9c2 commit fd14c45
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions plus/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,33 @@
font-size: 16px;
font-weight: bold;
}
.product {
border: 1px solid #ddd;
padding: 10px;
text-align: center;
margin: 10px;
transition: transform 0.3s ease, background-color 0.3s ease;
display: inline-block;
width: 200px;
}

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

.product:hover {
transform: scale(1.05);
background-color: #f0f0f0;
}

.product:hover img {
transform: scale(1.1);
}

.name, .price {
margin: 10px 0;
}
</style>
<h3 class="text-center">Welcome to Flipkart Plus Zone</h3>
<div class="banner">
Expand Down

0 comments on commit fd14c45

Please sign in to comment.