This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is.
Post
Josh W. Comeau
joshwcomeau.com
did:plc:zivbusxwcsom5o6mf7kljzms
I have a rough idea, but it’s not very straightforward:
• MutationObserver on the container to listen for added/removed children.
• getBoundingClientRect on an inner wrapper that measures its height.
• Apply the inner wrapper’s height to the parent, with a transition.
2025-01-09T15:38:29.649Z