The HTML <details> Element
Native disclosure widgets and accordions with `<details>` and `<summary>`: markers, exclusive groups and `::details-content` animations.
Content tagged details-element
Tutorial:The
:openPseudo-Class for<details>,<dialog>and<select>Style anything that opens, selects included, with one pseudo-class.Style the open state of <details>, <dialog> and <select> with the CSS :open pseudo-class. Compare it with [open], :popover-open and :modal, with fallbacks.