Menu
The writing-mode property designates if lines of text flow horizontally or vertically as well as right to left or left to right.
Example:
p.hor {
writing-mode: horizontal-tb;
}
p.vert-rl {
writing-mode: vertical-rl;
}
p.vert-lr {
writing-mode: vertical-lr;
}horizontal-tb
Default value. Sets the flow of the content to horizontal from left to right, top to bottom vertically.
vertical-rl
Sets the flow of the content to vertical from top to bottom, horizontally from right to left.
vertical-lr
Sets the flow of the content to vertical from top to bottom, horizontally from left to right.
User-submitted codepen.io examples of writing-mode ↴
Submit a codepen.io link that demonstrates writing-mode: