feat(link): smoother animation
This commit is contained in:
parent
7d6f278ebf
commit
b92203d8f2
1 changed files with 4 additions and 0 deletions
|
@ -111,8 +111,10 @@ h3 {
|
||||||
width: 33%;
|
width: 33%;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
background: var(--background);
|
background: var(--background);
|
||||||
|
transition: .2s;
|
||||||
&:hover {
|
&:hover {
|
||||||
background: var(--background-hover);
|
background: var(--background-hover);
|
||||||
|
transition: .2s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
& a {
|
& a {
|
||||||
|
@ -122,8 +124,10 @@ h3 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
transition: .2s;
|
||||||
&:hover {
|
&:hover {
|
||||||
color: var(--text-color-hover);
|
color: var(--text-color-hover);
|
||||||
|
transition: .2s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue