text-justify
When used with 'text-align: justify', this property decides exactly how space should be added between characters or words to fill the line.
It is documented as part of the CSS Text specification.
Syntax
/* Usage Example */
p.justified {
text-align: justify;
/* Adds equal space between every individual character to fill the line width */
text-justify: inter-character;
}
/* Syntax */
text-justify: auto;
text-justify: inter-character;
text-justify: inter-word;
text-justify: none;
/* Global values */
text-justify: inherit;
text-justify: initial;
text-justify: revert;
text-justify: revert-layer;
text-justify: unset;
text-justify Browser support
Limited availability
Since
2020 44% global usage
This feature is not Baseline because it does not work in some of the most widely-used browsers.
145+
55+
145+