Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ryanwhitney
on April 25, 2021
|
parent
|
context
|
favorite
| on:
Using <details> for menus and dialogs (2019)
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
)
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: