-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnew.html
94 lines (83 loc) · 2.34 KB
/
new.html
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<title>Document</title>
<style>
* {
margin: 0;
padding: 0;
}
.navbar{
height: 10vh;
width: 100%;
background-color: aqua;
}
label {
font-size: 2rem;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-weight: bolder;
text-transform: capitalize;
margin-left: 5%;
line-height: 10vh;
}
nav ul{
float: right;
margin-right: 50px;
}
nav ul li{
display: inline-block;
line-height: 10vh;
padding: 8px 20px;
}
nav ul li a{
text-decoration: none;
font-size: 1.4rem;
}
nav ul li a:hover{
background-color: black;
color: white;
border-radius: 50px;
padding: 10px;
}
#checkbtn{
margin-left: 0;
float: right;
margin-right: 30px;
display: none;
}
#check{
display: none;
}
@media(max-width: 820px){
nav ul{
}
nav ul li{
}
nav ul li a{
}
#checkbtn{
display: block;
}
}
</style>
</head>
<body>
<nav class="navbar">
<div class="navdiv">
<input type="checkbox" id="check">
<label for="check" id="checkbtn"><i class="fa-solid fa-bars"></i></label>
<label for="">soni maurya</label>
<ul>
<li><a href="">home</a></li>
<li><a href="">about</a></li>
<li><a href="">gallery</a></li>
<li><a href="">services</a></li>
<li><a href="">contact</a></li>
</ul>
</div>
</nav>
</body>
</html>