CSS text-orientation Property Reference

The CSS text-orientation property is a standard property in CSS Writing Modes. Review its formal syntax, computed behavior, and practical declarations.

CSS text-orientation Property Reference

The CSS text-orientation property is a standard property in CSS Writing Modes. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

text-orientation overview

The CSS text-orientation property is a standard property in CSS Writing Modes. Review its formal syntax, computed behavior, and practical declarations.

The computed value normally inherits from the parent element when no declaration wins the cascade.

Syntax and formal definition

text-orientation formal syntax
FieldValue
Formal syntaxmixed | upright | sideways
Initial valuemixed
Applies toallElementsExceptTableRowGroupsRowsColumnGroupsAndColumns
InheritedYes
Percentagesno
Computed valueasSpecified
Animation typenotAnimatable
Mediavisual
Specification groupCSS Writing Modes
StatusStandard

Practical examples

These declarations demonstrate valid ways to set text-orientation. The initial and inherit global keywords remain available even when a property-specific value is preferable.

text-orientation live example
CSS .reset-example { text-orientation: initial; } .inherit-example { text-orientation: inherit; } @supports (text-orientation: initial) { .supported { text-orientation: initial; } }

Description

The CSS text-orientation property is a standard property in CSS Writing Modes. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: text-orientation
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies