scroll-to-top : onhover show change

This commit is contained in:
Aditya Telange 2020-08-21 21:17:14 +05:30
parent 96d11d0505
commit 01a575de59
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77

View File

@ -38,10 +38,15 @@
width: 42px; width: 42px;
height: 42px; height: 42px;
padding: 12px; padding: 12px;
color: var(--primary); color: var(--secondary);
border-radius: 64px; border-radius: 64px;
fill: currentColor; fill: currentColor;
fill-opacity: 80%; fill-opacity: 80%;
transition: visibility 0.5s, transition: visibility 0.5s,
opacity 0.8s linear; opacity 0.8s linear;
} }
.top-link:hover {
color: var(--primary);
background: var(--code-bg);
}