| <!DOCTYPE html> |
| <style> |
| body { |
| -webkit-writing-mode: vertical-rl; |
| } |
| .multicol { |
| height: 500px; |
| width: 200px; |
| border: 3px solid black; |
| -webkit-column-gap: 10px; |
| -webkit-column-count: 3; |
| line-height: 20px; |
| } |
| .left, .right { |
| padding: 10px 0; |
| height: 40px; |
| text-align: center; |
| box-sizing: border-box; |
| } |
| .left { float: left; } |
| .right { float: right; } |
| .tall { width: 220px; } |
| .xtall { width: 420px; } |
| .blue1 { background-color: skyblue; } |
| .blue2 { background-color: dodgerblue; } |
| .blue3 { background-color: steelblue; } |
| </style> |
| <div class="multicol"> |
| First<br> |
| First<br> |
| <div class="right tall blue1">F2</div> |
| First<br> |
| First<br> |
| <div class="left xtall blue2">F1</div> |
| First<br> |
| First<br> |
| First<br> |
| First<br> |
| First<br> |
| First<br> |
| |
| Second<br> |
| Second<br> |
| <div class="left tall blue3">F3</div> |
| Second<br> |
| Second<br> |
| Second<br> |
| Second<br> |
| Second<br> |
| Second<br> |
| Second<br> |
| |
| Third<br> |
| Third<br> |
| Third<br> |
| Third<br> |
| Third<br> |
| Third<br> |
| Third<br> |
| Third<br> |
| Third<br> |
| Third<br> |
| </div> |