diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-07-27 12:04:36 +0530 |
|---|---|---|
| committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-07-27 12:04:36 +0530 |
| commit | 1329075c61378a99a5e37e28c3310c7cc20caee8 (patch) | |
| tree | 4712e668e8b1da3beb7f3e7741de3e575c67b430 /assets | |
| parent | 700c8e07daace1593b617ec6cbbbe270ec1c9ee5 (diff) | |
add scroll to top button
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/css/footer.css | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/assets/css/footer.css b/assets/css/footer.css index d440da0..a3700c7 100644 --- a/assets/css/footer.css +++ b/assets/css/footer.css @@ -23,4 +23,24 @@ .footer a:hover { color: var(--primary); border-bottom: 1px solid var(--primary); +} + +.top-link { + font-size: 12px; + visibility: hidden; + opacity: 0; + position: fixed; + bottom: 60px; + right: 30px; + z-index: 99; + background: var(--tertiary); + width: 42px; + height: 42px; + padding: 12px; + color: var(--primary); + border-radius: 64px; + fill: currentColor; + fill-opacity: 80%; + transition: visibility 0.5s, + opacity 0.8s linear; }
\ No newline at end of file |
