Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles
The css-text-align-last property sets the alignment of the last line of a block or right of a line before a forced line break to justify.
Last updated on : 2023-03-20
Browser Versions
IE
Edge
Firefox
Chrome
Safari
Opera
Fully Supported
Partially
No Support
Inherited
yes
Applies to
block containers
Initial value
auto
Animation type
discrete
Computed value
as specified
CSS Text Module Level 3 # text-align-last-property
/* Keyword values */
text-align-last: auto;
text-align-last: start;
text-align-last: end;
text-align-last: left;
text-align-last: right;
text-align-last: center;
text-align-last: justify;
/* Global values */
text-align-last: inherit;
text-align-last: initial;
text-align-last: revert;
text-align-last: unset;
CSS3 text-align-last on IE is partially supported on all IE versions.
CSS3 text-align-last on Edge is fully supported on 79-111 and partially supported on 12-18 Edge versions.
CSS3 text-align-last on Firefox is fully supported on 12-113, and not supported on 2-11 Firefox versions.
CSS3 text-align-last on Chrome is fully supported on 47-114, and not supported on 4-46 Chrome versions.
CSS3 text-align-last on Safari is fully supported on 16.1-16.4, and not supported on 3.2-16 Safari versions.
CSS3 text-align-last on Opera is fully supported on 34-95, and not supported on 9.5-33 Opera versions.
CSS3 text-align-last on Safari on iOS is fully supported on 16.1-16.4, and not supported on 3.2-16 Safari on iOS versions.
CSS3 text-align-last on Android Browser is fully supported on 97-111, and not supported on 2.1-4 Android Browser versions.
CSS3 text-align-last on Opera Mobile is fully supported on 64-73, and not supported on 10-12 Opera Mobile versions.
CSS3 text-align-last on Chrome for Android is fully supported on all Chrome for Android versions.
CSS3 text-align-last on Firefox for Android is fully supported on all Firefox for Android versions.
CSS3 text-align-last on Samsung Internet is fully supported on 5-20, and not supported on 4-4 Samsung Internet versions.
Data sourced from
Overall Browser Compatibility Score
Note:CSS3 text-align-last shows a browser compatibility score of 93. This is a collective score out of 100 to represent browser support of a web technology. The higher this score is, the greater is the browser compatibility. The browser compatibility score is not a 100% reflection for every browser and the web technology support. However, it does give you an estimate on how much you should rely on a particular web technology in terms of browser compatibility.
Test on 3000+ browsers for CSS3 text-align-last & more
Test your website for CSS3 text-align-last and other web technologies. Get 100 FREE automation test minutes!
Test NowKaneAI - Testing Assistant
World’s first AI-Powered E2E testing agent.
Did you find this page helpful?