CSS · Properties — CSS Writing Modes

writing-mode

The CSS writing-mode property. Initial value: horizontal-tb. Inherited.

Syntax
writing-mode: horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr

Example

Try it

Notes

Media: visual. Applies to: allElementsExceptTableRowColumnGroupsTableRowsColumns. Computed value: asSpecified.

More in this group

direction text-combine-upright text-orientation unicode-bidi

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course