Skip to content

[Feature/Question] Does Tailwind support the html tag <details> ? #924

@tance77

Description

@tance77

I just recently learned about the HTML element details

I was hoping to style this list with tailwindcss, but I couldn't find any documentation when I typed details into tailwindcss search bar.

Does tailwind support the <details> tag and if it does exist would you be so kind and link me to the documentation on tailwindcss. If it doesn't could we see the <details> tag have styles like lists for future iterations of tailwind?

Example

<details>
<summary>Users</summary>
<div>
    <p>Jessica</p>
    <p>Fred</p>
    <p>Mary</p>
    <p>Doug</p>
</div>
</details>
Users

Jessica

Fred

Mary

Doug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions