Kevin
Woblick

CollectionsArticlesNewsTestsTutorials

CSS: Left-align text if it's using multiple lines

Category:
Tags:
1 min. read

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.

Webmentions

0 Mentions
0 Reposts
Likes