From 8f2022d8538cf5eb32d9fc7c0b4420477e956c31 Mon Sep 17 00:00:00 2001 From: Souradeep858 Date: Sun, 14 Jun 2026 20:38:02 +0530 Subject: [PATCH] Scroll to top button alignment fixed --- public/css/home.css | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/public/css/home.css b/public/css/home.css index e3411bb..fefaa48 100644 --- a/public/css/home.css +++ b/public/css/home.css @@ -2041,4 +2041,40 @@ } +#scrollTopBtn { + position: fixed; + right: 24px; + bottom: 24px; + + width: 48px; + height: 48px; + + display: flex; + align-items: center; + justify-content: center; + + border: 1px solid rgba(255, 255, 255, 0.12); + border-radius: 9999px; + + background: rgba(15, 15, 20, 0.85); + backdrop-filter: blur(10px); + + color: #ffffff; + cursor: pointer; + + z-index: 1000; + transition: transform 0.2s ease, + background-color 0.2s ease, + opacity 0.2s ease; +} + +#scrollTopBtn:hover { + transform: translateY(-2px); + background: rgba(30, 30, 40, 0.95); +} + +#scrollTopBtn svg { + width: 20px; + height: 20px; +}