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