text-combine-upright
The text-combine-upright CSS property displays multiple characters in the space of a single character in vertical text. This is used in East Asian documents to display Latin-based strings such as components of a date or letters of an initialism.
Overview
The text-combine-upright CSS property displays multiple characters in the space of a single character in vertical text. This is used in East Asian documents to display Latin-based strings such as components of a date or letters of an initialism.
Browser support
| Feature | Desktop | Mobile | ||||
|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Safari | Chrome Android | Safari iOS | |
| 48 | 79 | 48 | 15.4 | 48 | 15.4 | |
all | 48 | 79 | 48 | 15.4 | 48 | 15.4 |
none | 48 | 79 | 48 | 15.4 | 48 | 15.4 |
- This browser only partially implements this feature
- Previously available under a different name: -webkit-text-combine (9)
- This property was initially named `-webkit-text-combine` according to a 2011 version of the CSS3 Writing Modes specification, supporting the values `none` and `horizontal` without `digits`.
- This feature was removed in a later browser version (79)
- Previously available under a different name: -ms-text-combine-horizontal (12)
- Before version 81, Firefox implemented the property as animatable. This was corrected to spec in 81.
- This browser only partially implements this feature
- Previously available under a different name: -webkit-text-combine (5.1)
- This property was initially named `-webkit-text-combine` according to a 2011 version of the CSS3 Writing Modes specification, supporting the values `none` and `horizontal` without `digits`.
- This browser only partially implements this feature
- Previously available under a different name: -webkit-text-combine (18)
- This property was initially named `-webkit-text-combine` according to a 2011 version of the CSS3 Writing Modes specification, supporting the values `none` and `horizontal` without `digits`.
- This browser only partially implements this feature
- Previously available under a different name: -webkit-text-combine (5)
- This property was initially named `-webkit-text-combine` according to a 2011 version of the CSS3 Writing Modes specification, supporting the values `none` and `horizontal` without `digits`.
Syntax
.vertical-text {
writing-mode: vertical-rl;
}
.tcy {
text-combine-upright: all;
} Live demo
Use cases
Using text-combine-upright
The text-combine-upright CSS property displays multiple characters in the space of a single character in vertical text. This is used in East Asian documents to display Latin-based strings such as components of a date or letters of an initialism.
Cautions
- May not be supported in older browsers.
Accessibility
- Make sure visual changes are conveyed appropriately to assistive technology.
Related links
Powered by web-features