Skip to content

Commit

Permalink
[chore]: userCard animation
Browse files Browse the repository at this point in the history
  • Loading branch information
sanam2405 committed Sep 18, 2024
1 parent b77d14f commit 4f8ff28
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ts-frontend/src/styles/UserCard.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,22 @@
text-align: center;
}

@keyframes appear-scale {
from {
opacity: 0;
transform: scale(0.5);
}
to {
opacity: 1;
transform: scale(1);
}
}

.usercard-container {
padding: 3rem;
animation: appear-scale linear;
animation-timeline: view();
animation-range: entry 0% cover 40%;
}

.container .card_item:hover {
Expand Down

1 comment on commit 4f8ff28

@vercel
Copy link

@vercel vercel bot commented on 4f8ff28 Sep 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.