Browse documentation
Reference / Typography
List markers
Restore native bullets or counters and position them inside or outside the list text.
Working example
- Fold the sheet.
- Trim the edge.
- Number the edition.
Mono’s base styles remove default markers and padding. Give outside markers enough inline space.
<ol class="list-decimal list-outside pl-6">
<li>Fold the sheet.</li>
<li>Trim the edge.</li>
<li>Number the edition.</li>
</ol>Class reference
| Class | CSS declarations |
|---|---|
list-disc | list-style-type: disc; |
list-decimal | list-style-type: decimal; |
list-none | list-style-type: none; |
list-inside | list-style-position: inside; |
list-outside | list-style-position: outside; |
list-image-none | list-style-image: none; |
View full generated CSS
.list-decimal {
list-style-type: decimal;
}
.list-disc {
list-style-type: disc;
}
.list-image-none {
list-style-image: none;
}
.list-inside {
list-style-position: inside;
}
.list-none {
list-style-type: none;
}
.list-outside {
list-style-position: outside;
}