Open this example in the interactive library
Source code
<style>
.demo > * + * {
margin-block-start: 0.75rem;
}
</style>
<div class="demo">
<div class="tile">First line</div>
<div class="tile">Second line</div>
</div>
Use two-line spacing with logical margins with native CSS. The preview includes a small shared demo stylesheet.
Open this example in the interactive library
<style>
.demo > * + * {
margin-block-start: 0.75rem;
}
</style>
<div class="demo">
<div class="tile">First line</div>
<div class="tile">Second line</div>
</div>