Skip to content

Vertical text with horizontal letters in CSS

To display vertical text with horizontal letters we can use two properties – text-orientation: upright and writing-mode: vertical-rl

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

The output would look like:

See also  Vertically center align text in a div

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.