Dev Helpers
← Back

Disclosure arrow rotation

Disclosure arrow rotation with Tailwind CSS 4 utilities. The preview uses precompiled styles.

Open this example in the interactive library

Source code

<details
  class="demo open:[&_summary_span]:inline-block open:[&_summary_span]:rotate-90"
>
  <summary>Specifications <span aria-hidden="true">›</span></summary>
  Ivory paper, 120 gsm.
</details>