From 4c3f46df23714fa583a02690305cf2069ad3daa8 Mon Sep 17 00:00:00 2001 From: dhruvi2403 Date: Thu, 2 Jan 2025 11:20:00 +0530 Subject: [PATCH] navbar visibility on smaller screen fixed --- src/componets/Navbar.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/componets/Navbar.css b/src/componets/Navbar.css index 03cb21a..56eefd1 100644 --- a/src/componets/Navbar.css +++ b/src/componets/Navbar.css @@ -109,4 +109,14 @@ body.menu-open { color: rgba(222, 184, 135, 0.6); pointer-events: none; animation: steam 2s infinite; +} + +.navbar { + position: fixed; + top: 0; + width: 100%; + background: #2C130B; + z-index: 1000; + padding: 10px 20px; + box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); } \ No newline at end of file