-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathResponsive-Navbar.html
More file actions
67 lines (54 loc) · 1.12 KB
/
Responsive-Navbar.html
File metadata and controls
67 lines (54 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html lang="en">
<head>
<title>Responsive Navbar</title>
<!--CSS tag-->
<style>
body {
padding: 0;
margin: 0;
font-family: 'Oswald', sans-serif;
}
nav {
width: 100%;
height: 50px;
background-color: #0A2647;
display: flex;
flex-direction: row;
justify-content: space-around;
}
h1 {
font-size: 25px;
font-weight: 400;
align-self: center;
color: white;
}
ul {
list-style: none;
display: flex;
align-items: center;
}
ul li {
font-weight: 300;
color: white;
margin: 0 30px;
}
</style>
<!--Google Fonts Link-->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap"
rel="stylesheet">
</head>
<body>
<nav>
<h1>Shakir.dev</h1>
<ul>
<li>Home</li>
<li>About</li>
<li>Services</li>
<li>Contact</li>
</ul>
</nav>
</body>
</html>