I just recreated the Dev Ed's hamburger navbar, but it doesn't work as expected. The full code is here. I tried to set position:relative
on the nav-links
container, but that didn't help. What can I do? (The code works if in the pc chrome, but try the website with the dev tools responsive mode, you'll see that the nav-links
are visible...) Please help me! Some code (but it doesn't work):
body {
overflow-x: hidden;
}
nav {
}
.nav-links {
position: absolute;
right: 0px;
height: 92vh;
top: 8vh;