Hacker News new | ask | show | jobs
by oneeyedpigeon 3729 days ago
To make your explanation spot on, you need to add some more text after "figcaption" in the latter two cases. This is the key point: an inline block will auto-width, by default, to its contents. In this technique, the contents will always be left-aligned, but the container centered.