text-orientation
Text
In vertical writing, decides whether glyphs lie sideways or stand upright.
| How to write it | text-orientation: mixed; |
|---|---|
| Common values | mixed, upright, sideways |
| Inherited | Yes — children receive it |
| Category | Text |
How to read this
- An inherited property only needs writing once on the parent — every child picks it up. Most text properties work this way.
- A shorthand resets whatever you leave out. Writing background: red alone also wipes a background image you set earlier.
- When rules collide, the more specific selector wins; only when specificity ties does source order decide.
- Animate transform and opacity for smoothness. Changing width or top forces the layout to be recalculated.
Frequently asked questions
Q. What is the CSS text-orientation property?
In vertical writing, decides whether glyphs lie sideways or stand upright.
Q. How do you write text-orientation?
As text-orientation: mixed; Common values include mixed, upright, sideways.
Q. Is text-orientation inherited?
Yes. Set it once on the parent and every child uses the same value without repeating it.
Q. What group does text-orientation belong to?
The text group.