text-orientation

If the text is set sideways, will the entire line or each character turn separately?

Time to read: less than 5 min

Briefly

The text-orientation property specifies how letters should be arranged when displayed vertically, if the value of the writing-mode property is not horizontal-tb.

How it is written

Possible values:

  • mixed — the default value, characters are rotated 90° clockwise.
  • upright — characters are written in their normal form, without rotation, but placed one under the other, vertically.