CSS text-align-last Property Reference

The CSS text-align-last property is a standard property in CSS Text. Review its formal syntax, computed behavior, and practical declarations.

CSS text-align-last Property Reference

The CSS text-align-last property is a standard property in CSS Text. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

text-align-last overview

The CSS text-align-last property is a standard property in CSS Text. Review its formal syntax, computed behavior, and practical declarations.

The computed value normally inherits from the parent element when no declaration wins the cascade.

Syntax and formal definition

text-align-last formal syntax
FieldValue
Formal syntaxauto | start | end | left | right | center | justify
Initial valueauto
Applies toblockContainers
InheritedYes
Percentagesno
Computed valueasSpecified
Animation typediscrete
Mediavisual
Specification groupCSS Text
StatusStandard

Practical examples

These declarations demonstrate valid ways to set text-align-last. The initial and inherit global keywords remain available even when a property-specific value is preferable.

text-align-last live example
CSS .reset-example { text-align-last: initial; } .inherit-example { text-align-last: inherit; } @supports (text-align-last: initial) { .supported { text-align-last: initial; } }

Description

The CSS text-align-last property is a standard property in CSS Text. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: text-align-last
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies