forked from ArpitPy/Prajwalan2k22
-
Notifications
You must be signed in to change notification settings - Fork 0
/
navbar.css
144 lines (102 loc) · 1.66 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
* {
margin: 0%;
padding: 0;
}
.navbar {
display: flex;
flex-wrap: nowrap;
align-items: center;
position: sticky;
top: 0;
height: 70px;
z-index: 100;
}
.navbar::before {
content: "";
top: 0px;
left: 0px;
position: absolute;
width: 100%;
height: 70px;
background: black;
z-index: -1;
}
.nav-container {
width: 30%;
float: left;
}
.nav-container ul {
display: flex;
}
.nav-container ul li {
list-style: none;
font-size: 1rem;
padding: 10px;
padding-left: 30px;
padding-right: 20px;
}
.nav-container ul li a {
color: azure;
display: block;
padding: 3.5px 20px;
border-radius: 8px;
text-decoration: none;
transition: transform .3s;
}
.nav-container ul li a:hover {
color: black;
background-color: aliceblue;
opacity: 0.75;
transform: scale(1.2);
}
/* Container 2*/
.nav-container-2 {
width: 40%;
text-align: center;
margin: 0;
}
.nav-container-2 a {
text-decoration: none;
}
.nav-container-2 p {
font-family: 'Laila', sans-serif;
font-size: 3rem;
color: aliceblue;
}
/*container 3*/
.nav-container-3 {
width: 30%;
float: right;
}
.nav-container-3 ul {
display: flex;
float: right;
}
.nav-container-3 ul li {
list-style: none;
font-size: 1rem;
padding: 10px;
padding-left: 20px;
padding-right: 30px;
}
.nav-container-3 ul li a {
color: azure;
display: block;
padding: 3.5px 20px;
border-radius: 8px;
text-decoration: none;
transition: transform .3s;
}
.nav-container-3 ul li a:hover {
color: black;
background-color: aliceblue;
opacity: 0.75;
transform: scale(1.2);
}
/*menu button*/
.wrapper{
display: none;
}
#active{
display: none;
}