convert horizontal to vertical in text css code example
Example 1: css text vertical direction
.verticalText {
writing-mode: vertical-lr;
text-orientation: upright;
}
Example 2: vertcial text css
p {
writing-mode: vertical-rl;
text-orientation: upright;
}