HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

text-orientation

Description

The text-orientation property for CSS specifies the orientation of text within a line.

Syntax

CSS

text-orientation: value;

JS

object.style.textOrientation = "value";

Values

<'text-orientation'> = mixed | upright | sideways
mixed

In vertical writing modes, typographic character units from horizontal-only scripts are typeset sideways.

upright

In vertical writing modes, typographic character units from horizontal-only scripts are typeset upright.

sideways

In vertical writing modes, this causes all text to be typeset sideways.

Initial

mixed

Examples

1 · mixed

2 · sideways

3 · upright

4 · JS