Dev Helpers
← Back

Inline ordered trail

Inline ordered trail with native CSS. The preview includes a small shared demo stylesheet.

Open this example in the interactive library

Source code

<style>
  .demo {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
  }
  .demo li + li::before {
    content: "/ ";
  }
</style>
<ol class="demo">
  <li>Studio</li>
  <li>Archive</li>
  <li>2028</li>
</ol>