The text-align-last
property specifies the alignment of the last line of text when the text-align
property is set to justify
.
text-align-last: auto | start | end | left | right | center | justify
auto
- Text is aligned like the other lines in the object, using the value of the text-align property.
start
- The text is aligned to the initial edge of the block.
end
- The text is aligned to the end edge of the block.
left
- The text is left-aligned.
right
- The text is right-aligned.
center
- The text is center aligned.
justify
- The text is justified. If there is only one word in the last line, then it will be left-aligned.