generated from Seekra/repository-template
Add Navbar with style
This commit is contained in:
@@ -1,7 +1,26 @@
|
||||
body{
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
nav{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 10px 0;
|
||||
border-bottom: 1px solid #000000;
|
||||
}
|
||||
nav ul {
|
||||
display: flex;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
gap: 30px;
|
||||
}
|
||||
nav a{
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
}
|
||||
nav a:hover{
|
||||
text-decoration: underline;
|
||||
}
|
||||
header{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
+9
-2
@@ -23,11 +23,18 @@ limitations under the License.
|
||||
<link rel="stylesheet" href="assets/style/main.css" />
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#">Home</a></li>
|
||||
<li><a href="#">Profile</a></li>
|
||||
<li><a href="#">Contact</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<header>
|
||||
<h1>Seekra</h1>
|
||||
<div>
|
||||
<p>
|
||||
Built to search.
|
||||
</div>
|
||||
</p>
|
||||
</header>
|
||||
|
||||
<form>
|
||||
|
||||
Reference in New Issue
Block a user