From 0ef3a80988c7d7b11275c8b28103e175892c3efb Mon Sep 17 00:00:00 2001 From: Dextrodark Date: Thu, 8 Jun 2023 12:38:31 +0530 Subject: [PATCH 1/2] Fixed a menu --- css/responsive.css | 17 ++++++++++++----- css/style.css | 1 + index.html | 6 +++--- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/css/responsive.css b/css/responsive.css index 91ccaa7..850d57b 100644 --- a/css/responsive.css +++ b/css/responsive.css @@ -27,19 +27,26 @@ .nav-links { flex-direction: column; - width: 100%; + /* width: 100%; */ height: 100vh; justify-content: center; - background: #484872; + /* background: #484872; */ margin-top: -900px; - transition: all 0.5s ease; + transition: all 0.5s ease-in-out; + position: relative; + left: 45px; } .mobile-menu { - margin-top: 602px; - border-bottom-right-radius: 30%; + margin-top: 650px; + width: 180px; + /* border-bottom-right-radius: 30%; */ + background: rgba(0, 0, 0,.5); + backdrop-filter: saturate(180%) blur(10px); } + + .nav-links li { margin: 30px auto; } diff --git a/css/style.css b/css/style.css index 1f3f495..2ec25b4 100644 --- a/css/style.css +++ b/css/style.css @@ -188,6 +188,7 @@ header { position: absolute; top: 30px; right: 30px; + /* right:-160px; */ width: 40px; cursor: pointer; display: none; diff --git a/index.html b/index.html index f96203e..e2e0ed6 100644 --- a/index.html +++ b/index.html @@ -18,7 +18,7 @@