text-orientation
Widely availableSince 202097% of users
Used in vertical writing modes to decide if individual characters should be rotated sideways or kept standing upright.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyModernIn every major browser since September 2020. Widely available since March 2023.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
mixed- Inherited
- Yes
- Applies to
- all elements except table row groups, rows, column groups, and columns
- Animation type
- notAnimatable
Quick example
.vertical-labels {
writing-mode: vertical-rl;
/* Forces characters to stay upright instead of rotating on their sides */
text-orientation: upright;
}Values
mixeduprightsidewaystext-orientation browser support
BaselineWidely availableThis feature is well established and works across many devices and browser versions. It has been available across browsers since 2020.Safe to use without fallbacks.
Usage97%of people can use this3% use a browser without it.
Browsers
48+
41+
14+
79+Mobile
48+Android
41+Android
14+iOS