Email or username:

Password:

Forgot your password?
Adam Argyle

**Steal this `<details>` transition boilerplate CSS**

This post is in response to the most common use case I see folks trying to do with `interpolate-size`.

nerdy.dev/open-and-close-trans

3 comments
Geoffrey Crofte ☕

@argyleink excellent use case. It's indeed a really common use case. Thanks for sharing it. I need to catch up on all the new CSS properties 😅

Side note, nothing alarming, but your content seems to be truncated on Android Firefox. I can't scroll horizontally or zoom out to get the content.

Adam Argyle

@geoffreycrofte Looks like a case of the pre that won't max inline size. Those stinkers been trouble. Firefox Mobile? Know which version?

Adam Argyle

@geoffreycrofte it was the code snippet `transition: content-visibility 1s allow-discrete` not wrapping!

Go Up