»

CSS writing-mode

Adjust the direction and flow, how text is rendered.

css
.horizontal { writing-mode: horizontal-tb; } .vertical { writing-mode: vertical-rl; }
html
<div class="wrapper"> <div class="box horizontal"> <h2>Heading</h2> <p>A paragraph. Demonstrating Writing Modes in CSS.</p> </div> <div class="box vertical"> <h2>Heading</h2> <p>A paragraph. Demonstrating Writing Modes in CSS.</p> </div> </div>
×