From a0720bbc237c571995013689417894ccadfc3d99 Mon Sep 17 00:00:00 2001 From: sa6anw Date: Thu, 8 May 2025 21:29:59 +0000 Subject: [PATCH] Fix --- docs/index.md | 14 ++++++++++++++ docs/stylesheets/extra.css | 4 ++++ 2 files changed, 18 insertions(+) diff --git a/docs/index.md b/docs/index.md index 045c4d5..577715b 100644 --- a/docs/index.md +++ b/docs/index.md @@ -11,6 +11,20 @@ title: Start window.scrollTo({ top: y, behavior: 'smooth' }); } + + // Göm knappen vid scroll window.addEventListener('scroll', () => { const button = document.getElementById('scrollButton'); diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index a17c0e8..9f73f15 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -29,3 +29,7 @@ } } + .md-header, + .md-tabs { + transition: transform 0.3s ease; + } \ No newline at end of file