property
text-align-last — CSS reference
Controls the final line and lines before forced breaks. Initial auto and inherited. A justified paragraph normally aligns its final line at start when auto is used.
Formal Syntax & Structure
css syntaxcss
auto | start | end | left | right | center | justifyWorking Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS text lab</title><style>body {margin:0} .sample {background:#dcebe9;color:#182e32}
#a{text-align-last:center}</style><body><p id="a">Design readable interfaces with CSS.</p><p lang="fa" dir="rtl">متن فارسی برای آزمایش چیدمان</p></body></html>