diff --git a/Responsive Navbar/Responsive_Navbar.css b/Responsive Navbar/Responsive_Navbar.css index 0262fad..b74cf83 100644 --- a/Responsive Navbar/Responsive_Navbar.css +++ b/Responsive Navbar/Responsive_Navbar.css @@ -12,11 +12,13 @@ body { nav{ background: #151515; padding: 5px 40px; + width: 100%; } nav ul{ list-style: none; display: flex; flex-wrap: wrap; + align-items: center; justify-content: center; } @@ -75,6 +77,7 @@ nav ul li.btn.hide i:before{ @media all and (max-width: 900px){ nav{ padding: 5px 30px; + justify-content: space-around; } nav ul li.items{ width: 100%; diff --git a/index.html b/index.html index 479c9b4..6372d4d 100644 --- a/index.html +++ b/index.html @@ -38,7 +38,7 @@
-