Small hover animations

This commit is contained in:
Colin Kallemein 2024-06-09 22:36:19 +02:00
parent c8e5daf6cf
commit ef13f22e6e
2 changed files with 6 additions and 1 deletions

View File

@ -266,6 +266,7 @@ function create() {
display: flex; display: flex;
gap: 15px; gap: 15px;
align-items: center; align-items: center;
transition: ease-in-out gap 0.2s;
span { span {
margin: auto; margin: auto;
@ -280,6 +281,10 @@ function create() {
background-color: rgba($cyan, 0.5); background-color: rgba($cyan, 0.5);
cursor: not-allowed; cursor: not-allowed;
} }
&:hover {
gap: 20px;
}
} }
} }
} }

View File

@ -139,7 +139,7 @@ onUnmounted(() => {
&:hover { &:hover {
transform: rotate(180deg); transform: rotate(180deg);
transition: ease-in-out 0.3s; transition: ease-in-out transform 0.3s;
} }
} }
} }