2 ms·
No need for javascript for the hamburger menu, it is doable with CSS checkbox, see for example the hamburger menu on https://lanyon.getpoole.com/ https://lanyon
by bmacho 3y ago
No need for javascript for the hamburger menu, it is doable with CSS checkbox, see for example the hamburger menu on https://lanyon.getpoole.com/ https://lanyon.getpoole.com/ .
Or another example, the teddit reddit-frontend has collapseable threads with the summary/details tags, also works without javascript.
- earthboundkid 3y agoThe CSS checkbox method is considered bad for accessibility. They’re adding a popover attribute to use for no JS menus instead.