The text-orientation property specifies how text is oriented within a line in vertical typographic modes. Controls whether horizontal-script text (e.g., Latin) appears rotated or upright in vertical layouts (CJK)..vertical {
text-orientation: upright;
}.mixed-script {
writing-mode: vertical-lr;
text-orientation: mixed;
}mixedThe default value. Horizontal-only script characters are typeset sideways; vertical script characters keep their intrinsic orientation.uprightHorizontal-only script characters are typeset upright in their standard orientation; forces the used direction to ltr.sidewaysAll text is typeset sideways, rotated 90° clockwise as if in a horizontal layout.CSS Writing Modes Module Level 4Editor's DraftW3CMDN
In the beginning God created the heavens and the earth.
Show all codeEdit CSS onlineThe plugin that remembers hundreds of CSS items for youEvery CSS property — in a live demonstrationThe bilingual CSS referencedefinitionexamplessyntaxmodulespecificationsourcesvisual demonstrationpreviousnext