From 564375ffeca675aafca9e1b1ad972854333f6775 Mon Sep 17 00:00:00 2001 From: karanmandve <59260030+karanmandve@users.noreply.github.com> Date: Thu, 1 Oct 2020 13:28:27 +0530 Subject: [PATCH] Update style.css I improve your website navbar. With changing its color and also i set your menu in a middle. --- css/style.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/css/style.css b/css/style.css index fa5d272..f70746f 100644 --- a/css/style.css +++ b/css/style.css @@ -40,15 +40,15 @@ nav ul { position: fixed;/*position property sets positioned relative to the viewport, which means it always stays in the same place even if the page is scrolled.*/ width: 100%; /*width property sets the width to 100% of the containing block*/ - background-color: #4dabf5; + background-color: #4df5ed; } nav ul li { display: inline-block;/*display property specifies the display behavior (the type of rendering box) of an element.*/ /*inline-block allows to set a width and height on the element and the top and bottom margins/paddings are respected*/ - margin: 55px; - margin-bottom: 15px; - margin-top: 25px; + margin: 46px; + margin-bottom: 24px; + margin-top: 22px; }