text-orientation
Used in vertical writing modes to decide if individual characters should be rotated sideways or kept standing upright.
Quick example
.vertical-labels {
writing-mode: vertical-rl;
/* Forces characters to stay upright instead of rotating on their sides */
text-orientation: upright;
} Quick facts
Initial value
mixedInherited
Yes
Applies to
all elements except table row groups, rows, column groups, and columns
Animation type
notAnimatable
Values
mixeduprightsideways text-orientation Browser Support
Widely available Since 2020 95% global usage
This 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.
48+
41+
14+
79+