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
✨ Neat CSS trick ✨
We can use `width: fit-content` to have a container element shrink to fit its element's width. This is useful for cards!
But if that card has any text content, that text will blow out the width of the card, since it won't automatically linewrap.
So we wind up with this issue:
2026-09-05T20:29:47.465Z