Indent each line of your text
Do you know that text-indent
can take an extra value each-line
? It allows you to have an indentation after each line! Useful if you rely on <br>
to add new lines.
p {
text-indent: 2em each-line;
}
⚠️ It has limited support. Only Firefox and Safari for now ⚠️
See the Pen Untitled by Temani Afif (@t_afif) on CodePen.