Open this example in the interactive library
Source code
<details class="demo h-auto overflow-visible max-w-[25ch]">
<summary>Expand this note</summary>
<p>The section grows when opened.</p>
</details>
Allow a description to expand without clipping with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<details class="demo h-auto overflow-visible max-w-[25ch]">
<summary>Expand this note</summary>
<p>The section grows when opened.</p>
</details>