text-orientationBaseline · Widely available
The text-orientation CSS property sets the how text is typeset within a line when the writing mode is vertical.
Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Sep 16, 2020. Widely available since Mar 16, 2023.
Browser support
DesktopChrome
1–47Not supported
48+Supportedsince Jan 20, 2016
Current: 155Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154Firefox
1–40Not supported
41+Supportedsince Sep 22, 2015
Current: 157Safari
1–13.1Not supported
14+Supportedsince Sep 16, 2020
Current: 27MobileChrome Android
18–47Not supported
48+Supportedsince Jan 26, 2016
Current: 155Firefox Android
4–40Not supported
41+Supportedsince Sep 22, 2015
Current: 157Safari iOS
1–13.4Not supported
14+Supportedsince Sep 16, 2020
Current: 27How to use
This feature is Baseline widely available — use it freely, no fallback needed.
Example
Full syntax and examples are on MDN: text-orientation.
Feature detection
CSS · check before using
@supports (text-orientation: initial) {
/* styles that rely on text-orientation */
}
/* or in JavaScript */
if (CSS.supports("text-orientation", "initial")) {
// use it
}Documentation (MDN)
Specification
Usage share
Sub-features
Support for each part of the feature (4). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| text-orientation | 48 | 79 | 41 | 14 | 48 | 41 | 14 |
| text-orientation.mixed | 48 | 79 | 41 | 14 | 48 | 41 | 14 |
| text-orientation.sideways | 48 | 79 | ≤44 | 14 | 48 | ≤44 | 14 |
| text-orientation.upright | 48 | 79 | 41 | 14 | 48 | 41 | 14 |