File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ function Header() {
22
22
23
23
return (
24
24
< React . Fragment >
25
- < nav className = "nav" >
25
+ < nav className = "nav fixed-top " >
26
26
< div className = "nav-main" >
27
27
< div className = "logo" >
28
28
< a href = "/" > < img src = { Logo } alt = "Edukolab logo" /> </ a >
Original file line number Diff line number Diff line change 22
22
}
23
23
24
24
.logo img {
25
- width : 35 % ;
25
+ width : 85 px ;
26
26
height : auto;
27
27
}
28
28
79
79
box-shadow : 1px 2px 8px 4px rgba (164 , 164 , 208 , 0.52 );
80
80
}
81
81
82
+ .fixed-top {
83
+ position : sticky;
84
+ top : 0 ;
85
+ z-index : 99 ;
86
+ }
87
+
82
88
.footer {
83
89
background-color : # 161940 ;
84
90
width : 100% ;
96
102
}
97
103
98
104
.ft-col img {
99
- width : 30 % ;
105
+ width : 100 px ;
100
106
}
101
107
102
108
.ft-col ul {
187
193
display : block;
188
194
width : 100% ;
189
195
height : 100vh ;
190
- position : absolute ;
196
+ position : fixed ;
191
197
background-color : # fff ;
192
198
}
193
199
You can’t perform that action at this time.
0 commit comments