| <!DOCTYPE HTML> |
| <title>Details pseudo-elements</title> |
| <link rel="match" href="details-pseudo-elements-001-ref.html"> |
| <link rel="help" href="https://github.com/whatwg/html/pull/10265"> |
| <link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#details-content-pseudo"> |
| <link rel="help" href="https://github.com/dbaron/details-styling"> |
| <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1469418"> |
| <style> |
| |
| details::details-content { |
| background: aqua; |
| display: block; /* override display: contents for slot */ |
| } |
| |
| </style> |
| |
| <details open> |
| <summary>The summary</summary> |
| <div>The details!</div> |
| </details> |