style: specify which properties should transition

This commit is contained in:
Miodec 2023-09-19 23:36:07 +01:00
parent 82024ff412
commit 431999ecc5

View file

@ -79,7 +79,7 @@ html {
a {
display: inline-block;
color: var(--sub-color);
transition: 0.125s;
transition: color 0.125s, opacity 0.125s, background 0.125s;
&:hover {
color: var(--text-color);
}