From a486aaf791931e05036b31768a0cd6e3c8f1b3b0 Mon Sep 17 00:00:00 2001 From: HariHaran1214 Date: Sat, 18 Mar 2023 11:34:21 +0530 Subject: [PATCH] Nva bar --- index.css | 46 +++++++++++++++++++++++++++++++++++++++++----- index.html | 12 ++++++++++++ 2 files changed, 53 insertions(+), 5 deletions(-) diff --git a/index.css b/index.css index 52aa2ed..0d70f6b 100644 --- a/index.css +++ b/index.css @@ -1,6 +1,42 @@ -body{ +nav { + background-color: #d8551c; + height: 50px; + } + + ul { + list-style-type: none; + margin: 0; + padding: 0; + overflow: hidden; + display: flex; + align-items: center; + justify-content: space-evenly; + } + + li { + float: left; + + } + + li a { + display: block; + color: rgb(120, 13, 13); + text-align: center; + padding: 16px; + text-decoration: none; + + } + body{ background-image: url("285674.jpg"); - width: 100vw; - height: 100vh; -} -s \ No newline at end of file + } + h2{ + display: flex; + justify-content: center; + align-items: center; + } + + li a:hover { + background-color: #85c640; + cursor: pointer; + } + \ No newline at end of file diff --git a/index.html b/index.html index ca66786..2034d19 100644 --- a/index.html +++ b/index.html @@ -8,6 +8,18 @@ + +

Navigation Bar

+