Last line justification
text-align-last

How should the last line of a paragraph be justified?
Property values
This property affects only the last line of a paragraph. It can be used regardless of whether the text-align
is justified or ragged.
Use one of these keywords:
left | Position the last line of a paragraph flush to the left margin |
right | Position the last line of a paragraph flush to the right margin |
center | Position the last line of a paragraph in the center, halfway between the left and right margins |
justify | Adjust the spacing between words make the last line flush to both the left and right margins |
Examples
text-align-last: center;