The market gate’s banner Mr. Karim puts up: set writing-mode, text-orientation, a transform and inline-size on Mrs. Yanti’s cloth, then a Range per character…
Essential for East Asian text (Japanese, Chinese, Korean) and handy for vertical tab or sidebar labels and narrow table headers. Understanding "the inline and block axes turn" also explains why logical properties like inline-size and margin-block exist.
writing-mode turns the layout’s axes, not the picture of the text
transform: rotate overlaps other elements rotate only turns the picture after layout; its room stays horizontal. writing-mode: vertical-rl (plus rotate(180deg) to read bottom → top, or sideways-lr) makes the box really vertical.width/height feel swapped in a vertical mode The inline and block axes turn, but width is always horizontal. Use the logical inline-size/block-size so sizes follow writing-mode.text-orientation: mixed lays Latin letters down in vertical modes (CJK stays upright). Use text-orientation: upright so every letter stands.vertical-rl The blue arrow points down, the violet one left: the box turns tall, columns stack from the right.vertical-rl and vertical-lr Characters still run down; the violet arrow is what changes: columns stack left or right.inline-size instead of width The line length becomes the number you set, whichever way the text runs.horizontal-tb, try rotate(-90deg) on a short label The dashed box stays horizontal and the label paints over the plank: a transform does not change the layout.