Dev Helpers

Tailwind CSS / Document flow and lists

Use lower Roman numerals for a list

Dev Helpers · November 20, 2025

List-style utilities can restore markers after a reset. Combine them with sufficient padding so the markers remain inside the content area.

Worked example

<ol class="demo list-[lower-roman] ps-8">
  <li>Draft</li>
  <li>Review</li>
  <li>Release</li>
</ol>

Implementation notes

With an outside marker, overflow clipping can cut away part of the numeral. Inspect the parent surface at the smallest supported width.

Try it yourself

Check a double-digit marker at a narrow viewport.

Open the Tailwind CSS example →

Editorial date November 20, 2025 · 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.