From f4cb7936d8beb82ffc1fc6ad1ef94d8f613af291 Mon Sep 17 00:00:00 2001 From: Swapnil Sunil Chaudhari <71397235+Swapnil-Gaur@users.noreply.github.com> Date: Wed, 23 Dec 2020 10:57:19 +0530 Subject: [PATCH] Increase the padding of nav_bar and dispaly of li Display of list is set to flex --- css/stylesheet.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/css/stylesheet.css b/css/stylesheet.css index eb31cf8..e662fbd 100644 --- a/css/stylesheet.css +++ b/css/stylesheet.css @@ -5,8 +5,9 @@ } li { - display: inline-block; - text-align: center; + display: flex; + Justify-Content:center; + align-item: center; margin-left: 5%; margin-right: 5%; } @@ -28,7 +29,7 @@ width: 100%; text-align: center; background-color: floralwhite; - padding-bottom: 3%; + padding-bottom: 33%; } .main_header { @@ -135,4 +136,4 @@ .photo_gallery:hover { - } /* \ No newline at end of file + } /*