CSS3 Topics
Writing-mode CSS Property
Specify whether lines of text are laid out horizontally or vertically:
p.test2 {
writing-mode: vertical-rl;
}
Definition and Usage
The writing-mode
property specifies whether lines of text are laid out horizontally or vertically.
Property Values
Value | Description |
---|---|
horizontal-tb | Let the content flow horizontally from left to right, vertically from top to bottom |
vertical-rl | Let the content flow vertically from top to bottom, horizontally from right to left |
vertical-lr | Let the content flow vertically from top to bottom, horizontally from left to right |