loading...

re: Creating a fold out navigation with CSS only VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Thank you!!! This is exactly what I was looking for. We might have to add border: none and background: none because for some weird reason checkboxe...
 

No prob :)

I made an update. I noticed the explicit label while associated with the labeled by was not triggering the mouse click. So I tied the label to the input using hamburger as the id and for. Also added cursor: pointer; to .nav__trigger-finger.


< nav class="nav">
< input
class="nav_trigger-input"
type="checkbox"
id="hamburger"
aria-label="click to open the navigation"
aria-labelledby="trigger"
/>
< label class="nav
_trigger-finger" id="trigger" for="hamburger">
< span>

code of conduct - report abuse