-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #223 from Sajal24/Sajal-NavBar
Added Navbar Issue #12
- Loading branch information
Showing
2 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<link rel="stylesheet" href="styles.css" /> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Navbar</title> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<div class="topicName"> | ||
<h3>NAVBAR</h3> | ||
</div> | ||
|
||
<div class="menu"> | ||
<ul> | ||
<li><a href="#">Home</a></li> | ||
<li><a href="#">About</a></li> | ||
<li><a href="#">Sector</a></li> | ||
<li><a href="#">Contact Us</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap"); | ||
|
||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
font-family: "Poppins", sans-serif; | ||
} | ||
|
||
.container { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
padding: 10px; | ||
background-color: blanchedalmond; | ||
} | ||
|
||
.topicName { | ||
margin-left: 20px; | ||
} | ||
|
||
.topicName h3 { | ||
font-size: 35px; | ||
} | ||
|
||
.menu { | ||
width: 28%; | ||
} | ||
|
||
a { | ||
text-decoration: none; | ||
font-size: 22px; | ||
color: darkolivegreen; | ||
} | ||
|
||
ul { | ||
display: flex; | ||
justify-content: space-between; | ||
padding: 5px; | ||
margin-right: 10px; | ||
} | ||
|
||
li { | ||
list-style: none; | ||
} |