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