Skip to content

Add details-content variant#15319

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

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

Conversation

@lukewarlow
Copy link
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.
Copy link
Contributor

@philipp-spiess philipp-spiess left a comment

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 👍

@philipp-spiess philipp-spiess merged commit 124b82b into tailwindlabs:main Feb 26, 2025
5 checks passed
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