Skip to content

Commit

Permalink
hover effect over mentor section
Browse files Browse the repository at this point in the history
  • Loading branch information
RedWing0021 committed Jul 20, 2024
1 parent d2472cd commit 2e61bb1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/src/components/mentor/mentor-card-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ const MentorCardItem: FC<Props> = ({ item }) => {
borderRadius: 8,
boxShadow: 6,
backgroundColor: 'white',
transition: 'transform 0.3s, box-shadow 0.3s',
'&:hover': {
transform: 'scale(1.05)',
boxShadow: 4,
},
}}
>
<Box
Expand Down

0 comments on commit 2e61bb1

Please sign in to comment.