Skip to content

Add details-content variant#15319

Merged
philipp-spiess merged 2 commits into
tailwindlabs:mainfrom
lukewarlow:details-content
Feb 26, 2025
Merged

Add details-content variant#15319
philipp-spiess merged 2 commits into
tailwindlabs:mainfrom
lukewarlow:details-content

Conversation

@lukewarlow

Copy link
Copy Markdown
Contributor

This matches the new ::details-content pseudo element.

See https://developer.chrome.com/blog/styling-details#the_details-content_pseudo for more info.

Currently shipped in Chromium, in development in WebKit and no development yet in Firefox but they're supportive.

lukewarlow and others added 2 commits February 26, 2025 11:31
This matches the new `::details-content` pseudo element.

@philipp-spiess philipp-spiess left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Added it behind a feature flag, we'll want to get that out with 4.1 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants