Skip to content

Commit

Permalink
Added Transform Scale up to article cards while hovering
Browse files Browse the repository at this point in the history
  • Loading branch information
RajeevDash007 committed Aug 4, 2023
1 parent 87d8706 commit e9b2493
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions apps/pink/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -995,4 +995,12 @@ const articles: Article[] = [
.SG-box-shadow-32 {
box-shadow: 0 pxToRem(16) pxToRem(32) rgba(55, 59, 77, 0.02);
}

//articles card styling
.articles-item {
transition: transform 0.3s ease-in-out;
}
.articles-item:hover {
transform: scale(1.02);
}
</style>

0 comments on commit e9b2493

Please sign in to comment.