Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/rendering/the-details-element/details-display-type-002.html - WPT Dashboard Interop Dashboard
<!DOCTYPE HTML>
<meta charset="utf-8">
<title>Details display property (flex)</title>
<link rel="match" href="details-display-type-002-ref.html">
<style>
details {
display: flex;
flex-direction: column;
gap: 3em;
}
</style>
<details open>
<summary>The summary.</summary>
Some details.
</details>