Dev Helpers
← Back

Indented reply thread

Indented reply thread with native CSS. The preview includes a small shared demo stylesheet.

Open this example in the interactive library

Source code

<style>
  .demo article article {
    margin-inline-start: 1.25rem;
    border-inline-start: 2px solid #cbd5e1;
    padding-inline-start: 1rem;
  }
</style>
<div class="demo">
  <article>
    When is pickup?
    <article>Friday at noon.</article>
  </article>
</div>