DEV Community

Discussion on: 7 Fancy Hamburger Menu Design Inspiration

Collapse
 
sakaluke profile image
Sakaluke

I had a bug where the menu links were clickable even tho the menu was closed. you can just hover above the area where links are when menu is closed and cursor will turn to pointer and it will redirect you if you click on it sooooo
to avoid this just add visibility: hidden; to your ul in scss and in input:checked + menu + ul just put it back to visible. so only when hamburger menu is clicked ul will turn back to visible.