Skip to content

Commit

Permalink
Created Navbar. Issue E-Cell-VSSUT#12
Browse files Browse the repository at this point in the history
  • Loading branch information
Anikkkkettt committed Oct 7, 2022
1 parent 3ddaf38 commit 1085ff0
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Aniket Nayek/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<title>Document</title>
</head>
<body>

<div class="navbar">
<ul class="nav">
<li>Home</li>
<li>About</li>
<li>Sectors</li>
<li>Contact Us</li>
</ul>
</div>

</body>
</html>
21 changes: 21 additions & 0 deletions Aniket Nayek/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
*{
padding: 0;
margin: 0;
}
.nav{
display: flex;
align-items: center;
justify-content: center;
list-style: none;
}

li{
padding: 10px 20px;
cursor: pointer;
}

.navbar{
width: 100vw;
height: 5vh;
background-color: antiquewhite;
}

0 comments on commit 1085ff0

Please sign in to comment.