-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNavigation.html
More file actions
57 lines (53 loc) · 1.16 KB
/
Navigation.html
File metadata and controls
57 lines (53 loc) · 1.16 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css" media="all">
body {
margin: 0;
}
nav {
display: flex;
background: white;
justify-content: space-between;
padding: 10px;
font-size: 16px;
align-items: center;
}
h1 {
margin: 0;
}
span {
margin-left: 10px;
font-weight: 600;
}
@media (max-width:400px) {
.desktopNav {
display: none;
}
}
@media (min-width:400px) {
.logo {
display: none;
}
}
</style>
<title>Navigation</title>
</head>
<body>
<nav>
<h1>Gohar Shahi</h1>
<div class="desktopNav">
<span>Home</span>
<span>Learning</span>
<span>Learning</span>
<span>Teachings</span>
<span style="background: #7777; padding:2px; border-radius:3px; font-size: 20p;x">Contact</span>
</div>
<div class="logo">
LOGO
</div>
</nav>
</body>
</html>