Can I use text-align-last?
The text-align-last property specifies how to align the last line of a text. Notice that the text-align-last property sets the alignment for all last lines within the selected element. So, if you have a <div> with three paragraphs in it, text-align-last will apply to the last line of EACH of the paragraphs.
What does text-align-last do?
The text-align-last CSS property sets how the last line of a block or a line, right before a forced line break, is aligned.
How do you style the last line in CSS?
The text-align-last property in CSS is used to set the last line of the paragraph just before the line break. The line break may be due to the natural ending of a paragraph, or it may be due to the use of <br> tag.