How to set vertical text and vertical alphabets in CSS

To make the text vertical using CSS, and also to make the alphabet vertical, set the `writing-mode` and `text-orientation` properties as follows


   writing-mode: vertical-rl; 
 text-orientation: upright; 
 

`writing-mode: vertical-rl;` makes the text vertical. On the other hand, `text-orientation: upright;` aligns the alphabet vertically.

These are the ways to set vertical text and vertical alphabets with CSS.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top