Ident the first line of a paragraph

The indent-* utilities are pretty useful to indent the first line of a paragraph.

That will give your articles a book-like feel.

Discuss on Twitter

Transcript

Let's add a typographic touch to this article by using some text indentation on the paragraph here. So here on the first paragraph, I'll add a class of indent dash. And let's use level 12 here. And you can see the first line of our paragraph has been indented now. And say we wanted the same indentation to all the paragraphs.

I could delete the class from this paragraph and add the indent 12 class to the parent element. And now the first line of every paragraph in our article has been indented.

More Tips