Skip to content

Commit

Permalink
Add hover and active effects to icon buttons (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
kangasta authored Feb 13, 2024
1 parent aa281c8 commit e8d75fa
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/Menu/IconButton.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@
flex-direction: column
align-items: center
transition: transform 125ms
&:hover
transform: scale(1.125) translateY(-0.25rem)
&:active svg
transform: translateY(0.25rem)
.clickable
cursor: pointer
Expand Down

0 comments on commit e8d75fa

Please sign in to comment.