JSFiddle - React, Tailwind, and code Playground

by Ben Clayton

HTML

<div class="wrapper">
    <div class="item">
        <div>This is the text we want to flow</div>
    </div>
    <div class="item">
        <div>This is the text we want to flow</div>
    </div>
    <div class="item">
        <div>This is the text we want to flow</div>
    </div>
    <div class="item">
        <div>This is the text we want to flow</div>
    </div>
    <div class="item">
        <div>This is the text we want to flow</div>
    </div>
    <div class="item">
        <div>This is the text we want to flow</div>
    </div>
    <div class="item">
        <div>This is the text we want to flow</div>
    </div>
    <div class="item">
        <div>This is the text we want to flow</div>
    </div>
    <div class="item">
        <div>This is the text we want to flow</div>
    </div>
    <div class="item">
        <div>This is the text we want to flow LAST</div>
    </div>
</div>

CSS

.item div {
    float:right;
    border:1px solid red;
    margin:5px;
    width:60px;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);

}

.wrapper {
    width:600px;
    height:600px;
   -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);

}