Skip to content

Commit

Permalink
feat(posts): Add spin animation
Browse files Browse the repository at this point in the history
  • Loading branch information
1ilsang committed Mar 18, 2024
1 parent b8b3f02 commit 6f228dd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/features/styles/ui/posts/posts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@
&::after {
content: '𒅄';
}

&:hover {
@keyframes spin {
100% {
transform: rotate(360deg);
}
}

animation: spin 2s linear infinite;
transform-origin: 50% 50%;
}
}

.selected {
Expand Down

0 comments on commit 6f228dd

Please sign in to comment.