Skip to content

Commit

Permalink
feat(event): Add animation
Browse files Browse the repository at this point in the history
  • Loading branch information
1ilsang committed Aug 19, 2023
1 parent b63ff57 commit 130a38c
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/features/event/event.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
@keyframes shake {
0% {
transform: rotate(0deg);
}
25% {
transform: rotate(-3deg);
}
75% {
transform: rotate(3deg);
}
100% {
transform: rotate(0deg);
}
}

.event-container {
height: calc(100vh - 77px);

Expand Down Expand Up @@ -37,7 +52,7 @@
cursor: pointer;

:hover {
// TODO: 좌우 애니메이션
animation: shake 1s infinite ease-in;
}
}
.description {
Expand Down

0 comments on commit 130a38c

Please sign in to comment.