This commit is contained in:
1bl4z3r
2023-12-17 13:29:11 +05:30
parent c65e39445f
commit 112c04a660
58 changed files with 0 additions and 2916 deletions

View File

@ -1 +0,0 @@
const scroll=document.querySelector(".scroll-up"),rootElement=document.documentElement;function handleScroll(){rootElement.scrollTop/(rootElement.scrollHeight-rootElement.clientHeight)>.4?(scroll.classList.remove("hide"),scroll.classList.add("show")):(scroll.classList.add("hide"),scroll.classList.remove("show"))}document.addEventListener("scroll",handleScroll);