Dev Helpers

CSS / Information layouts

Numbered instructions marker

Dev Helpers · August 13, 2025

A list marker can carry instructional numbering while the list retains native ordered semantics. Keep the numbers legible at wrapping widths.

Worked example

<style>
  .demo li::marker {
    color: #92400e;
    font-weight: 700;
  }
</style>
<ol class="demo">
  <li>Cut stock</li>
  <li>Fold sheets</li>
</ol>

Implementation notes

Separating marker emphasis from body weight keeps a procedure scannable. Avoid inserting the numbers into the text if native list numbering can maintain them.

Try it yourself

Compare a one-line instruction with one that wraps to three lines.

Open the CSS example →

Editorial date August 13, 2025 · Published December 6, 2026

Related articles

Fluid width with a maximum

A fluid container needs a small-screen width and a large-screen maximum. Outer gutters should remain visible at both extremes.

Square aspect ratio

A square ratio reserves equal sides even before media loads. Fit rules decide whether rectangular content is cropped or letterboxed.