This repository was archived by the owner on Jul 19, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-16
lines changed Expand file tree Collapse file tree 2 files changed +7
-16
lines changed Original file line number Diff line number Diff line change 3
3
4
4
< head >
5
5
< meta charset ="UTF-8 ">
6
+ < meta name ="description " content =" Intro section with dropdown navigation - Frontend Mentor ">
7
+ < meta name ="keywords " content =" Intro section with dropdown navigation,Frontend Mentor ">
6
8
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7
9
< link rel ="icon " type ="image/png " sizes ="32x32 " href ="./images/favicon-32x32.png ">
8
10
< title > Frontend Mentor | Intro section with dropdown navigation</ title >
35
37
</ li >
36
38
< li class ="company-btn ">
37
39
< button > Company
38
- < img src ="./images/icon-arrow-down.svg " alt ="" aria-hidden ="true " /> </ button >
40
+ < img src ="./images/icon-arrow-down.svg " alt ="" aria-hidden ="true " />
41
+ </ button >
39
42
< ul class ="hidden-company ">
40
43
< li > < a href ="/ "> History</ a > </ li >
41
44
< li > < a href ="/ "> Our Team</ a > </ li >
Original file line number Diff line number Diff line change @@ -109,9 +109,9 @@ header.active::before {
109
109
background-color : rgba (6 , 6 , 6 , 0.15 );
110
110
backdrop-filter : blur (3px );
111
111
height : 100% ;
112
- width : 20 rem ;
112
+ width : 100 % ;
113
113
top : 0 ;
114
- left : -15 % ;
114
+ left : 0 ;
115
115
}
116
116
header .active .nav-menu {
117
117
position : static;
@@ -144,19 +144,11 @@ nav ul button {
144
144
background-color : transparent;
145
145
border : none;
146
146
}
147
- /* nav ul button:hover img {
148
- transform: rotate(180deg);
149
- transition: var(--transition);
150
- }
151
- nav ul button img {
152
- height: max-content;
153
- transition: var(--transition);
154
- } */
155
147
.hamburger {
156
148
cursor : pointer;
157
149
z-index : 99 ;
158
150
position : fixed;
159
- margin-left : 80 % ;
151
+ margin-left : 85 % ;
160
152
}
161
153
header .active .hamburger {
162
154
content : url ("./images/icon-close-menu.svg" );
@@ -179,13 +171,9 @@ header.active .hamburger {
179
171
}
180
172
.hidden-features .active ,
181
173
.hidden-company .active {
182
- /* position: static; */
183
174
display : flex;
184
175
flex-direction : column;
185
176
gap : 1rem ;
186
- /* margin-top: 1rem; */
187
- /* padding: 1rem; */
188
- /* background-color: var(--almost-white); */
189
177
width : max-content;
190
178
border-radius : 10px ;
191
179
position : absolute;
You can’t perform that action at this time.
0 commit comments