CSS Text-Align-Last Property

CSS 1

CSS 2

CSS 3

No No Yes

Description

This property describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.

Syntax

text-align-last: [value]

Possible values

  • start
  • end
  • left
  • right
  • center
  • justify

Initial Value

start

Applies To

All elements

Inherited

Yes

Media

Visual

Example

.class {
  text-align-last: right;
}


View All CSS Properties