text-spacing-trim

Experimental

A modern property that helps manage the spacing between characters in CJK (Chinese, Japanese, Korean) typography. It specifically handles how 'half-width' punctuation and characters should be spaced to keep the layout looking clean.

Quick example

article.cjk-text {
  /* Trims the extra space from the start of the first line for a cleaner edge */
  text-spacing-trim: trim-start;
}

Quick facts

Initial value
normal
Inherited
Yes
Applies to
text elements
Animation type
discrete

Values

space-allnormalspace-firsttrim-start

text-spacing-trim Browser Support

Limited availability 71% global usage

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Not ready for production without a fallback.

123+
123+
ESC