Dev Helpers

Tailwind CSS / Information layouts

Numbered instructions marker

Dev Helpers · August 12, 2026

Marker variants style the list marker separately from its text. They let a dense procedure retain a clear reading hierarchy.

Worked example

<ol class="demo [&_li]:marker:text-amber-800 [&_li]:marker:font-bold">
  <li>Cut stock</li>
  <li>Fold sheets</li>
</ol>

Implementation notes

Keep marker contrast high enough to read independently of the body. This is particularly relevant when design tokens change with the theme.

Try it yourself

Compare the marker next to a wrapped instruction.

Open the Tailwind CSS example →

Editorial date August 12, 2026 · Published December 6, 2026

Related articles

Selection background swatch

The selection variant lets a component specify its own selected-text colours. Readability depends on the selected foreground as well as the highlight.

Skew a label

A skew utility changes the painted shape without allocating extra room for the slanted edge. A separate inner wrapper can keep lettering upright.

Horizontal flex row

Flex utilities define the row but children can still resist shrinking. Inspect long labels before adding more breakpoints.