aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-11-10 01:03:25 +0100
committerAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-11-10 01:03:25 +0100
commitb92203d8f245890f3fc11037924fba02b76b8a84 (patch)
treed4d56156c6348c5f67c7fc639ed2b59b658385ab
parent7d6f278ebf42442e3909eb326be5a7c8ba20412a (diff)
feat(link): smoother animation
-rw-r--r--scss/main.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/scss/main.scss b/scss/main.scss
index ca803b2..0c43680 100644
--- a/scss/main.scss
+++ b/scss/main.scss
@@ -111,8 +111,10 @@ h3 {
width: 33%;
border-radius: 16px;
background: var(--background);
+ transition: .2s;
&:hover {
background: var(--background-hover);
+ transition: .2s;
}
}
& a {
@@ -122,8 +124,10 @@ h3 {
text-align: center;
padding: 1em;
width: 100%;
+ transition: .2s;
&:hover {
color: var(--text-color-hover);
+ transition: .2s;
}
}
}