DEV Community

Discussion on: CSS Abuse

Collapse
 
renanlecaro profile image
Renan LE CARO • Edited

The menu trick is nice, I use something similar on a production website ciboulette.net/

The menu button (on mobile only) is a label for a checkbox, and the menu is shown via input:checked ~ menu.

I'm often browsing without js on mobile, because it's so much faster, but most website hamburger menus are broken without js. So I thought I'd make it work here, even though it doesn't matter to most people