<p class="vertical">吾輩は猫である。名前はまだ無い。<br>
      どこで生れたかとんと見当がつかぬ。</p>
.vertical{
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;/*IE独自仕様対応*/
    writing-mode: vertical-rl;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.