The text-combine-upright property enables horizontal-in-vertical composition (tate-chu-yoko) — fitting multiple characters into a single upright character box in vertical writing modes. Useful for years/numbers in vertical Japanese text..tcy {
text-combine-upright: all;
}.vertical-text {
writing-mode: vertical-rl;
text-combine-upright: digits 2;
}noneThe default value. No combination is applied.allAll typographic character units in the element are combined horizontally into a single upright character box.digitsConsecutive ASCII digits (up to 2 by default) are combined into a single upright character box. May be followed by an integer to limit digit count (e.g. 'digits 4').CSS Writing Modes Module Level 4Editor's DraftW3CMDN 民國105年4月29日Show all codeEdit CSS onlineThe plugin that remembers hundreds of CSS items for youEvery CSS property — in a live demonstrationThe bilingual CSS referencedefinitionexamplessyntaxmodulespecificationsourcesvisual demonstrationpreviousnext