Skip to content

Commit

Permalink
feat(portfolio): add hover effect to card
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-abela committed Mar 18, 2024
1 parent 49025ea commit 31810b2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/components/atoms/PortfolioCard/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,18 @@ const StyledPortfolioCard = styled.article`
text-decoration: none;
}
img {
span {
border-radius: 4px;
}
img {
transition: transform 0.3s ease;
}
img:hover {
transform: scale(1.04);
}
h1 {
margin: 0;
}
Expand Down

0 comments on commit 31810b2

Please sign in to comment.