CSS writing-mode for horizontal and vertical text
CSS-Tricks

EDITOR BRIEF
The CSS writing-mode property controls whether text is laid out horizontally or vertically. It also affects the direction that blocks and lines flow, and a vertical example uses vertical-rl. This can be especially useful for languages such as Chinese and Japanese.
INSIGHTS
If you are learning CSS layout, try changing writing-mode on a sample element to see how text flow changes. It is a good way to understand how CSS can support different writing systems and page layouts.
Learn more with these courses
CodeFriends courses that build on this story. Practice in the browser with nothing to install.
- Introduction to HTML, CSS, and JavaScriptLearn the fundamentals of HTML, CSS, and JavaScript, and build your own website from scratch.Beginner25 Hours
- Introduction to Web Development (Light)Master HTML, CSS, and JavaScript in just 10 hours.Beginner10 Hours
- Python Programming 101Learn Python in just 20 hours! Kickstart your programming journey with this beginner-friendly course.Beginner20 Hours
COMMENTS
Loading comments…