Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<style>
#multicol {
font: 16px/1 sans-serif;
max-height: 10px; /* Bound column height without using a fixed height. */
column-width: 30px;
column-fill: auto;
border: 1px solid gray;
}
.box {
writing-mode: vertical-rl;
width: 10px;
height: 20px;
border: 1px solid blue;
}
</style>
<div id="multicol">
<span>a</span>
<main class="box"></main>
</div>