Skip to content

Commit

Permalink
Added
Browse files Browse the repository at this point in the history
Hover effects for Category Grid
  • Loading branch information
SuhainaFathimaM committed Aug 10, 2024
1 parent e012a16 commit 63e358c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions css/categories.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@
margin-right: 20px;
}

#category-grid .category-container:hover {
transform: scale(1.05); /* Zoom in slightly */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add subtle shadow */
}

.category {
width: 100%;
height: 100%;
Expand Down

0 comments on commit 63e358c

Please sign in to comment.