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