The writing-mode CSS property sets whether lines of text are laid out horizontally or vertically, as well as the direction in which blocks progress. When set for an entire document, it should be set on the root element (html element for HTML documents).
Description
The writing-mode CSS property sets whether lines of text are laid out horizontally or vertically, as well as the direction in which blocks progress. When set for an entire document, it should be set on the root element (html element for HTML documents).
Tests should be here: https://wpt.fyi/results/css/css-writing-modes?label=master&label=experimental&aligned&q=writing%20mode
It enables cool usecases like you can use writing-mode to lay out a
<select>
horizontally for example. ThreadUnfortunately the properties
sideways-lr
andsideways-rl
are not supported in Chrome and Safari.Specification
https://www.w3.org/TR/css-writing-modes-3/
Additional Signals
MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/writing-mode