mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
smoothen button icon interactions
This commit is contained in:
@@ -69,6 +69,16 @@ button {
|
||||
background: linear-gradient(70deg, $gray3, $gray2);
|
||||
padding: 0 $small;
|
||||
|
||||
svg {
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
&:active {
|
||||
svg {
|
||||
transform: scale(0.75);
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-image: linear-gradient(70deg, $darkestblue, $darkblue);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user