Projects/nettsiden-old
Projects
/
nettsiden-old
Archived
8
0
Fork 0

Make navbar absolute positioned, so it scrolls

This commit is contained in:
Yorin Anne De Jong 2018-02-13 16:07:28 +01:00
parent 1e973c31b2
commit 46eed1c223
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ nav, #menu {
padding: 0;
}
nav {
position: fixed;
position: absolute;
width: 100%;
top: 0;
left: 0;
@ -74,7 +74,7 @@ nav li.active, nav li:hover {
@media(max-width: 800px){
nav #menu, nav #menu li.active, nav #menu_toggle, nav #menu:target li.active a, nav #login {
position: fixed;
position: absolute;
}
nav {