New! My 44-page ebook "CSS in 44 minutes" is out! 😃

Get it now →

# details

Defines a toggable block of content with a summary and additional details.

Example: Copy

Read more

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra nec nulla vitae mollis.

<details>
  <summary>Read more</summary>
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra nec nulla vitae mollis.</p>
</details>

open

Defines whether the additional details are shown by default or not

"true"

The additional details are visible by default.