Hacker News new | ask | show | jobs
by amatecha 1865 days ago
There's also the <details> element: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/de... It works quite nicely but is a block element by default. You can override that with some CSS (display: inline or inline-block) and style it to look more like a regular piece of inline content. Pretty useful IMO!