We want to achieve the following behaviour: if a text (for example as a caption below an image) is centered and becomes aligned left when it files multiple lines. It’s possible by only using CSS. Here’s how.