The text-spacing-trim property controls trimming of spacing around CJK fullwidth punctuation (brackets, Japanese commas) — prevents visual 'gaps' when punctuation sits at line corners. Initial value is trim-both..jp {
text-spacing-trim: trim-both;
}.cn {
text-spacing-trim: space-first;
}trim-bothThe default value. Trims spacing at both edges of fullwidth punctuation.noneNo trimming — displays full fullwidth spacing.space-allPreserves all spacing (synonym of none for this behavior).space-firstPreserves spacing before the first punctuation mark at line start.trim-startTrims spacing at the start edge only.trim-endTrims spacing at the end edge only.CSS Text Module Level 4Editor's DraftW3CMDN
(東)、【「(東)」】。
「東」「東」「東」東東東「東」。
Show all codeEdit CSS onlineThe plugin that remembers hundreds of CSS items for youEvery CSS property — in a live demonstrationThe bilingual CSS referencedefinitionexamplessyntaxmodulespecificationsourcesvisual demonstrationpreviousnext