News for hackers. Stuff that matters.
Re:Using <details> for menus and dialogs (2019) by ryanwhitney on Saturday April 24, 2021 @10:26PM (#26929866)
I'm not sure how much <details> can be customized, but there's also a CSS-only route using a hidden checkbox beneath the hamburger icon and looking for the input[type="checkbox"]:checked selector. (Example: https://codepen.io/plavookac/pen/qomrMw)

There are no comments on this comment yet.