css word vertically code example Example: css text vertical direction .verticalText { writing-mode: vertical-lr; text-orientation: upright; }