Skip to content

Commit

Permalink
Added padding between images for proper spacing and ensured the borde…
Browse files Browse the repository at this point in the history
…r-radius remains intact on hover for a consistent rounded appearance.
  • Loading branch information
Ravi-1606 committed Oct 21, 2024
1 parent d393add commit 83ff900
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -844,6 +844,45 @@ <h3 style="font-family: var(--ff-philosopher);color: hsl(203, 30%, 26%);">Bevera

</ul>

<style>
.section-meals {
padding: 20px;
}

.meals-showcase {
display: flex;
flex-wrap: nowrap;
justify-content: center;
gap: 20px;
}

.meal-photo {
padding: 10px;
border-radius: 15px;
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
background-color: transparent;
}

.meal-photo img {
padding: 10px;
width: 100%;
height: auto;
border-radius: 15px;
transition: border-radius 0.3s ease;
}

.meal-photo:hover {
transform: scale(1.05);
box-shadow: 0 4px 15px transparent;
}

.meal-photo:hover img {
border-radius: 20px;
}

</style>


<!---------------------------------------------------- FAQ -->

Expand Down

0 comments on commit 83ff900

Please sign in to comment.