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