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  Import CSS files using @import in CSS

Leave a Reply

Your email address will not be published.

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