-
Notifications
You must be signed in to change notification settings - Fork 0
/
navbar.css
74 lines (64 loc) · 1.23 KB
/
navbar.css
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
/*-------------------------------- nav Starts Here --------------------------------*/
nav {
background-color: #008cba;
padding: 10px 20px;
display: flex;
height: 10%;
align-items: center;
font-family: "Times New Roman", Times, serif;
justify-content: space-between;
}
nav .Hlogo {
font-size: 24px;
color: #fff;
}
input.Hsearch {
width: 470px;
border: 1px solid #fff;
display: block;
height: 35px;
border-radius: 20px;
margin-left: 80px;
padding: 9px 4px 9px 40px;
background: white url("./icons/search.svg") no-repeat 13px;
}
.Hicons a{
text-decoration: none;
}
.HnavIcon{
height: 25px;
}
/* To display Icons in line*/
.Hicons{
display: flex;
}
.Hcontainer {
position: relative;
width: 50%;
margin-left: 25px;
}
.Himage {
display: block;
width: 20px;
height: 20px;
}
.Hoverlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
height: 100%;
width: 100%;
opacity: 0;
transition: .5s ease;
}
.Hcontainer:hover .Hoverlay {
opacity: 100;
}
.Htext {
position:absolute;
height:25px;
width:25px;
}
/*-------------------------------- nav Ends Here --------------------------------*/