improvement: faster transition

This commit is contained in:
Kazhnuz Klappsthul 2021-07-26 12:48:12 +02:00
parent 1ced152bf7
commit 3ac690925d
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ $button_small: $lineheight_quarter;
}
@mixin button-hover() {
transition: background 0.3s, border .3s, box-shadow .3s, color .3s;
transition: background .2s, border .2s, box-shadow .2s, color .2s;
&:hover, &:active, &:focus, a:hover > &, a:active > &, a:focus > & {
text-decoration:none;
background-color:transparent;
@ -46,7 +46,7 @@ $button_small: $lineheight_quarter;
}
&:before {
transition: background-color 0.3s;
transition: background-color .2s;
}
}