diff options
Implemented scrolling to top button
1 files changed, 15 insertions, 0 deletions
| -rw-r--r-- | src/styles.css | 15 |
diff --git a/src/styles.css b/src/styles.css index 7024177..b391ba2 100644 --- a/src/styles.css +++ b/src/styles.css @@ -373,12 +373,27 @@ code span { left: 0; top: 0; padding: 1em; + z-index: 2; } .body-on-clicked-image { overflow: hidden; } +.btnBackToTop { + font-size: 1rem; + position: fixed; + right: 1em; + bottom: 1em; + z-index: 1; + border: 1px solid; + transition-duration: 0.5s; +} + +.btnBackToTop:hover { + cursor: pointer; +} + /* OpenSans font */ @font-face { |