css sideways text 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;
}
.verticalText {
writing-mode: vertical-lr;
text-orientation: upright;
}
p {
writing-mode: vertical-rl;
text-orientation: upright;
}