Open this example in the interactive library
Source code
<style>
.demo {
columns: 2;
}
.demo > * {
break-inside: avoid;
display: block;
}
</style>
<div class="demo">
<span class="tile">One</span><span class="tile">Two</span
><span class="tile">Three</span>
</div>